查詢c1課程成績大於c2課程成績的學生學號(Oracle自鏈接)

表scsql SELECT sc1.sno FROM sc sc1,sc sc2 WHERE sc1.sno = sc2.sno AND sc1.cno = 'c1' AND sc2.cno = 'c2' AND sc1.score > sc2.score;
相關文章
相關標籤/搜索