例如表student
stuid course score
001 001 76
001 003 82
002 003 96
002 002 88
要求输出结果为:
001 001,003 76,82
002 003,002 96,88
select stuid, group_concat(course),group_concat(score) from stu_course;