会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
JerryChen
代码干货,拿来即用
博客园
首页
新随笔
管理
2018年3月6日
SQLServer两张表筛选相同数据和不同数据
摘要: select distinct A.ID from A where A.ID not in (select ID from B) select A.ID from A left join B on A.ID=B.ID where B.ID is null select * from B where (select count(1) as num from A where A.ID = ...
阅读全文
posted @ 2018-03-06 19:17 chenjingchun
阅读(562)
评论(0)
推荐(0)
编辑
公告