查詢選修了全部課程的學生姓名
查詢選修了全部課程的學生姓名:student 是學生表 course 是選課表 sc 是課程表
select sname
from student
where not exists
(select *
from course
where not exists
(select *
from sc
where sno =student.sno
and cno=course.cno)
最後更新:2017-04-04 07:03:34
最後更新:2017-04-04 07:03:34