我用的mysql4.0,感觉除了速度快好难用阿,竟然没有in,exists操作,那查询在A表但不在B表的集合操作怎么做呢?我写了下面的查询,但是查询的结果不对!请高手赐教
select count(a.id) from a left join b on a.id = b.id AND b.id is null where a.id>727500 and a.id<= 728000 ;
select count(a.id) from a left join b on a.id = b.id AND b.id is null where a.id>727500 and a.id<= 728000 ;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货