You could use something like this:
DELETE
FROM your_table t
WHERE EXISTS
(SELECT 1
FROM your_table
WHERE id = t.id
AND rowid < t.rowid);
In this example 'id' would be the field used to identify duplicates.
I used rowid to decide what record to keep in the table, but you could use any other field(s) as needed.
-CarlosDL
-----------------------
Last Wiki Answer Submitted: February 22, 2010 3:35 pm by ITKE16,755 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.