Answers for "mysql delete duplicates except one"

SQL
3

mysql remove duplicates

DELETE FROM table_name WHERE id 
       NOT IN ( SELECT id FROM table_name 
                   GROUP BY field_1, field_2)
Posted by: Guest on June-18-2020

Code answers related to "mysql delete duplicates except one"

Code answers related to "SQL"

Browse Popular Code Answers by Language