I’m looking for a tool that allows me to easily manage duplicate entries in the MySQL database.
In a sense, I don’t want to make my columns ‘UNIQUE’, but I want to review the records that happen to have exactly the same value in a column.
It would be nice if I could craft such an SQL query that shows only such records using the usual interface.
To get duplicates, just use a self-join on the table :
The t1.id < t2.id will make sure every duplicate will only appear once.