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
相关文章
相关标签/搜索