求大神解答,我想写一句sql,a表同时不在b,c,d表内
sql吧
全部回复
仅看楼主
level 1
小和尚丶假正经
楼主
求大神解答,我想写一句sql,a表同时不在b,c,d表内
2019年07月28日 08点07分
1
level 1
小和尚丶假正经
楼主
1111
2019年07月28日 08点07分
2
level 4
印象的记忆_hy
where a.主键 not in (子查询a与其他表重合数据主键集合)
2019年07月30日 05点07分
4
小和尚丶假正经
是多张表,同时哦,不是两张表比较
2019年07月30日 07点07分
level 11
王大卫A
bcd合并一下
2019年08月28日 00点08分
5
level 3
地图鱼ლ
select a.* from a
left join b on a.id=b.id
left join c on a.id=c.id
left join d on a.id=d.id
where b.id is null
and c.id is null
and d.id is null
2019年09月12日 02点09分
6
1