日期:2014-05-18 浏览次数:20713 次
select * from 表1 a where not exists(select 1 from 表2 where userno=a.userno)
------解决方案--------------------
select * from 表1 e where not exists (select 1 from 表2 d where e.UserNO=d.UserNo
------解决方案--------------------
select * from t1 where userno not in(select userno from t2)
------解决方案--------------------
select * from 表1 a where not exists(select 1 from 表2 b where a.UserNo =b.UserNo )