I found the scripts to remove the duplicates from a table in this website.
select (duplicate field names) from table_name
group by (list out fields)
having count(*) >1;
delete from table a where rowid > (select min(rowid) from table b where a.column1 = b.column1 and a.column2 = b.column2);
Could anybody kind enough to explain why the first one would find all the duplicats and the second one would elimilate the duplicates?
Thanks!
