I have no idea how i am going to do this.
Simple example
studentid | sub1id | sub2id | and so on.....
----------------------------------------------------------
1 | 1 | 2 | and so on
3 | 5 | 6 | and so on
Using such table structure… I want a output in the following form a particular student
Student 1
student | sub |
======================
1 | 1 |
1 | 2 |
Student 2
student | sub |
======================
2 | 5 |
2 | 6 |
1 Answer