Mysql
 sql >> Database >  >> RDS >> Mysql

Elimina le righe mysql duplicate senza chiave primaria

 CREATE TABLE temp SELECT DISTINCT * FROM tablename;
 ALTER TABLE tablename RENAME junk;
 ALTER TABLE temp RENAME tablename;