SQL 表A不在表B记录

select * from a where not exists(select 1 from b where a.id=b.id)
posted @ 2011-05-09 08:19  小さいです哥  阅读(217)  评论(0编辑  收藏  举报