You are on page 1of 1

DELETE FROM

table_name A
WHERE
a.rowid >
ANY (
SELECT
B.rowid
FROM
table_name B
WHERE
A.col1 = B.col1
AND
A.col2 = B.col2
);

http://www.dba-oracle.com/t_delete_duplicate_table_rows.htm

You might also like