如何有效率的搜索第一个表里的ID字段在第二个表里没有的全部记录? select * from t1 awhere not exists(selec 1 from t2 b where a.id=b.id) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from tableone awhere not exists(selec 1 from tabletwo b where a.id=b.id) 或者select * from t1 where id not in (select id from t2) 如何下载sql server 2005 有没有高手可以帮我个小忙啊 ? 求助一函数,可以自动判断数据类型 求一个多表查询的语句 数据行转列,列转行问题? 如何生成新的实例? 分页参数传递 求一条SQL语句,关于日期的 建view时,不能用带case的select语句吗? 这是一句SQL语句可以做到的吗? 求语句 数据回收有问题,收不上来。请各位大侠帮忙
where not exists(selec 1 from tabletwo b where a.id=b.id)
或者select * from t1 where id not in (select id from t2)