50個SQL高級查詢練習(5)

題目5、sql 五、查詢沒學過「葉平」老師課的同窗的學號、姓名;code select distinct(t3.sid) as 學號, t4.sname as 學生姓名 from sc t3 ,student t4 where cid not in (select t2.cid from teacher t1 ,course t2 where t1.tid=t2.tid and t1.tn
相關文章
相關標籤/搜索