摘要:
sql中exists用具体用法前两天一直不是很明白exists的用法..书上写的就几句话.网上的我找到的都是一个样SQL Server里的帮助文档,看的好郁闷,现在弄明白了.拿经验和大家分享一下. exists(包括not exists)子查询 通过这几天的感觉.exists应该是这样的 select distinct 姓名 from xs where not exists ( select * from kc where not exists ( select * from xs_kc where 学号=xs.学号 and 课程号=kc.课程号 ) ) go 拿这个来说吧: 系统会把最外层的 阅读全文
posted @ 2012-10-01 20:58
技术收集专用
阅读(380)
评论(0)
推荐(0)
浙公网安备 33010602011771号