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)
本文出自 “青天飞云” 博客,谢绝转载!
删除重复数据只保留一条的操作
原文:http://liuhuanxin.blog.51cto.com/4789310/1731346