Here is the query for the same.
DELETE FROM
table_name A
WHERE
a.rowid >
(
SELECT
min(B.rowid)
FROM
table_name B
WHERE
A.col1 = B.col1
AND
A.col2 = B.col2
);
Showing posts with label delete duplicate rows. Show all posts
Showing posts with label delete duplicate rows. Show all posts
Monday, February 6, 2012
Subscribe to:
Posts (Atom)