1. 程式人生 > >Oracle 快速刪除重複記錄

Oracle 快速刪除重複記錄

1.

delete
  from DJ_SKSKJ
 where rowid in (select max(rowid)
                   from DJ_SKSKJ
                  where jddm = '01'
                  group by NSRSBM
                 having count(*) > 1)