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
相關文章
相關標籤/搜索