mysql子查询联系

1.横向显示学生所学课程的成绩(例如:学生姓名、学生课程1的分数、学生课程2的分数) select s_name,a.s_score,b_score from (select s_id,s_score from Score where c_id = 1) as a left join (select s_id,s_score from Score where c_id = 2) as b on b
相关文章
相关标签/搜索