oracle某个字段有重复数据,如何删除多余数据只保留1条
delete from z t where t.rowid not in (select min(rowid) from z t1 where t1.id=t.id group by id)
转载于:https://blog.51cto.com/liuhuanxin/1731346
oracle某个字段有重复数据,如何删除多余数据只保留1条
delete from z t where t.rowid not in (select min(rowid) from z t1 where t1.id=t.id group by id)
转载于:https://blog.51cto.com/liuhuanxin/1731346