I have been trying to create a view and convert my rows into columns I have this view
view table name: view_all_grades_final_edit_last
studentID | subjectID | FirstGrading
1080473 Computer 101 0.00
1080473 History 101 0.00
1080473 Java 101 0.00
1080473 PE 101 0.00
1080473 Science 101 74.85
1111857 Computer 101 0.00
1111857 History 101 0.00
1111857 Java 101 0.00
1111857 PE 101 0.00
1111857 Science 101 69.07
I want the output to be like this:
studentID | Computer 101 | History 101 | Java 101 | PE 101 | Science 101
1080473 0.00 0.00 0.00 0.00 74.75
1111857 0.00 0.00 0.00 0.00 69.07