有没有好的办法作者: comfile 时间: 2004-03-30 12:02 标题: 怎样高效找出两个表中不同的记录啊 select * from a where id not in (select id from b)
or
select * from a where not exists (select 1 from b where id=a.id)作者: toworm 时间: 2004-03-30 15:01 标题: 怎样高效找出两个表中不同的记录啊 我是想要除去相同的之外的a表和b表中所有记录作者: king1981 时间: 2004-03-31 17:37 标题: 怎样高效找出两个表中不同的记录啊 select id from a where a.id not in (select id from b)
下次不要问怎么啥的问题 ~作者: toworm 时间: 2004-04-02 14:07 标题: 怎样高效找出两个表中不同的记录啊 好像还是没理解