數據庫---學生選課查詢案例---經典查詢題

語句見下方 –1、查詢"c10"課程比"c20"課程成績高的學生的信息及課程分數 select s.,sc1.score as c10成績,sc2.score as c20成績 --sql 92 寫法 from student s,sc sc1,sc sc2 where sc1.s# = sc2.s# and s.s# = sc1.s# and (sc1.c# = ‘c10’ and sc2.c#
相關文章
相關標籤/搜索