22,294
社区成员
发帖
与我相关
我的任务
分享select * from a where 身份证号码 not in (select 身份证号码 from b)select * from a as t where not exists(select 1 from 原数据库.dbo.b where 身份证号码=t.身份证号码)select * from a t where not exists(select 1 from 原数据库..b where 身份证号码=t.身份证号码)[code=SQL]select * from a t where not exists(select 1 from 原数据库..b where 身份证号码=t.身份证号码)[/code]