sql 左連接

以前的寫法: SELECT stu.*, sc.C,sc.score FROM student stu,sc sc1,sc sc2,sc sc WHERE stu.S = sc.s AND stu.S = sc1.S AND stu.S = sc2.S AND sc1.C = '01' AND sc2.C = '02' AND sc1.score > sc2.score 現在的寫法: select
相關文章
相關標籤/搜索