oracle去除重复数据sql

delete table1 where rowid not in (
select max(rowid) from table1 group by col1 ,col2  )

编程技巧