oracle 查找或删除重复数据

2018-02-24  本文已影响0人  FAST_探索

select * from  tableA  a where a.rowid>=(select min(rowid) from tableB b where a.column=b.column) 


delete from  tableA  a where a.rowid>=(select min(rowid) from tableB b where a.column=b.column)

上一篇 下一篇

猜你喜欢

热点阅读