oracle 查找或删除重复记录的语句
时间:2011-04-13 来源:林计钦
--oracle查找重复记录
select * from tableA a where a.rowid>=(select min(rowid) from tableB b where a.column=b.column)
--oracle删除重复记录
delete from tableA a where a.rowid>=(select min(rowid) from tableB b where a.column=b.column)
相关阅读 更多 +
排行榜 更多 +