I'm using the following query to delete duplicate rows from a table. There are only 2 columns in the table (col1 and col2).
delete from tab1 where rowid not in
(select min(rowid) from tab1 t group by col1, col2);
Is there any problem, like some side effects, if I use this query to delete duplicate rows?