ORACLE 去除重复记录

      delete from tbl_talbe

      where (col1,col2,col3) in

     (select col1,col2,col3

       from tbl_table

       group by col1,col2,col3

       having count(*)>1)

     and rowid not in

     (

        select max(rowid)

        from tbl_table

        group by col1,col2,col3

        having count(*) >1

     )

    

原文地址:https://www.cnblogs.com/yjl49/p/2371973.html