会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
login的秘密
博客园
首页
新随笔
联系
订阅
管理
2016年11月8日
SQL中exists、not exists以及in、not in的区别和使用
摘要: exists : 强调的是是否返回结果集,不要求知道返回什么, 比如: select name from student where sex = 'm' and mark exists(select 1 from grade where ...) ,只要 exists引导的子句有结果集返回,那么ex
阅读全文
posted @ 2016-11-08 09:22 login的秘密花园
阅读(497)
评论(0)
推荐(0)
编辑
公告