I have a one to many relationship, where one student may have more than one class. I would like to send each student a list of the classes they are taking for verification.
I ran this query:
SELECT DISTINCT student_id, course_name
FROM Student
GROUP BY student_id;
and here is part of the result:
523156978 Physics II
523156978 Calculas I
523156978 Statistics
554652586 Physics II
554652586 Calculas I
Is there a way to list all classes per student id on the same page?
I ran this query:
SELECT DISTINCT student_id, course_name
FROM Student
GROUP BY student_id;
and here is part of the result:
523156978 Physics II
523156978 Calculas I
523156978 Statistics
554652586 Physics II
554652586 Calculas I
Is there a way to list all classes per student id on the same page?