题目内容

可实现查询“选修C2(C2为课程号)课程的学生姓名”的SQL语句有:

A. select snamefrom student,scwhere student.sno=sc.sno and cno='C2'
B. select snamefrom studentwhere sno in(select sno from sc where sc.sno=student.sno and cno='C2')
C. select snamefrom studentwhere exists(select * from sc where sc.sno=student.sno and cno='C2')
D. select snamefrom student, (select sno from sc where cno='C2') as s1where student.sno=s1.sno

查看答案
更多问题

可实现查询“没有选修C2(C2为课程号)课程的学生姓名”的SQL语句有:

A. select snamefrom student,scwhere student.sno=sc.sno and cno≠'C2'
B. select snamefrom student where sno not in(select sno from scwhere cno='C2')
C. select snamefrom studentwhere not exists(select * from scwhere sc.sno=student.sno and cno='C2')
D. select sname from studentexceptselect sname from student,sc wheresc.sno=student.sno andcno='C2'

视图的作用包括:

A. 能够简化用户的操作
B. 使用户能以多种角度看待同一问题
C. 对重构数据库提供了一定程度的逻辑独立性
D. 对机密数据提供安全保护

物光波从空域角度看,可以看作是平面波的线性叠加。

A. 对
B. 错

平面波与发散球面波形成条纹,等强度面是旋转抛物面。

A. 对
B. 错

答案查题题库