我现在有一张表updateinfo 里面两个字段bh oldbh 现在要找出hb和oldbh里面记录不同的全部记录,这个语句怎么写?
------解决方案--------------------------------------------------------
select * form updateinfo where bh not in(select oldbh from updateinfo)
------解决方案--------------------------------------------------------
select * from updateinfo where bh != oldbh