设有学生-课程数据库,其数据库模式为 : 学生 S (学号 SNO ,姓名 SN ,所在系 SD ,年龄 SA )、课程 C (课程号 CNO ,课程名 CN ,先修课号 PCNO )、学生选课 SC (学号 SNO ,课程号 CNO ,成绩 G )。用关系代数语言及SQL语句写出下列查询语句: 选修了全部课程的学生学号、姓名
A、
B、select SNO,SN from S where not exists (select * from C where not exists (select * from SC where SC.SNO=S.SNO and SC.CNO=C.CNO))
C、select SNO,SN from S where SNO in (select SNO from SC group by SNO having count(*) = (select count(*) from C))
D、