select * from a ,(select id from a minus select id from b) c where a.id=b.id;
select * from a where not exits (select id from b where id=a.id);
以上两种查询的结果应该一样的。哪个的查询效率更高?!
select * from a where not exits (select id from b where id=a.id);
以上两种查询的结果应该一样的。哪个的查询效率更高?!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货