Possible Duplicate:
How to delete duplicate records in mysql database?
there are duplicate rows in the mysql table. how find the duplicate rows and delete them.
Possible Duplicate:
How to delete duplicate records in mysql database?
there are duplicate rows in the mysql table. how find the duplicate rows and delete them.
My preferred solution:
How to delete duplicate records in mysql database?
In the future, use unique/primary keys to make sure this doesn't happen again.
DELETE * ,count(*)as n FROMaddgroup by id HAVING n>1 .
It will delete all duplicate records