where not exists(select * from Course where exists(select * from SC
not
where
Course.Cno=SC.Cno
SC.Sno=student.Sno) ) --48
select Cno,Cname from Course where not exists(select * from SC where exists(select * from student
where
Course.Cno=SC.Cno
SC.Sno=student.Sno) )
31
and
not
and
--49
select Sname from student,SC,Course where '
and student.Sno in(select Sno from SC where Cno in(select Cno from Course where Cname='数据库基础')) --50
select Sname from student,SC,Course where '
and student.Sno not in(select Sno from SC where Cno in(select Cno from Course where Cname='数据库基础'))
32
Course.Cno=SC.Cno and
student.Sno=SC.Sno and Cname='VB
Course.Cno=SC.Cno and
student.Sno=SC.Sno and Cname='VB
33