SyntaxFix
Write A Post
Hire A Developer
Questions
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;