How can I do a concatenation of comma separated course IDs that for each student?
select student.ID,
concat(student_course.COURSE_ID,',')
from student.ID join student_course on student.ID=student_course.STUDENT_ID
group by student.ID
Student Id | Course Id
1 | 101, 230, 432
2 | 293, 101