select count(*) from table_name a where rowid >(select min(rowid) from table_name b where a.column1=b.column1 and a.Column2 = b.Column2)
delete from table_name a where rowid >select min(rowid) from table_name b where a.column1=b.column1 and a.column2= b.column2)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)