(1),(2)问题下的sql怎么理解?那位高手帮忙解释一下。
2. 已知学生表S、课程表C 和学生选课表SC,它们的关系模式如下:
S(S#,SN,SEX,AGE,DEPT)
C(C#,CN)
SC(S#,C#,GRADE)
其中:S#为学号,SN 为姓名,SEX 为性别,AGE 为年龄,DEPT 为系别,C#为课程号,CN
为课程名,GRADE 为成绩。试用SQL 语言完成下列问题。
(1) 查询选修了全部课程的学生姓名
 select sn from s where not exists (select * from c where not exists (select * from sc where sc.s#=s.s# and sc.c#=c.c#))
(2) 查询至少选修了“王丽”选修的全部课程的学生的学号
select distinct s# from sc scx where not exists (select * from sc scy  where scy.s#=scx.s# and not exists (select * from sc scz where scz.s#=scx.s# and scz.c#=scy.c#) )