SQL 表A不在表B记录

select * from a where not exists(select 1 from b where a.id=b.id)
原文地址:https://www.cnblogs.com/xsmhero/p/2040789.html