I have a table with the following fields:
id (Unique) url (Unique) title company site_id
Now, I need to remove rows having same titl
titl
I found a simple way. (keep latest)
DELETE t1 FROM tablename t1 INNER JOIN tablename t2 WHERE t1.id < t2.id AND t1.column1 = t2.column1 AND t1.column2 = t2.column2;