十分钟看懂数据库——数据库入门级语言总结( 四 )


select * from students
where not exists (select * from grades
where grades.sno=students.sno AND cno='B2')
11.关于有难度多重嵌套查询的解决思想:
如 , 选修了全部课程的学生:
select *
from students
where not exists ( select *
from courses
where NOT EXISTS
(select *
from grades
where sno=students.sno
AND cno=courses.cno))
以上是关于我看数据库视频的知识点总结 , 和一些扩展使用 , 以及我希望学习的东西 。(注:部分内容来之网络)

十分钟看懂数据库——数据库入门级语言总结

文章插图
 




推荐阅读