Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql remove duplicates

DELETE t1 FROM contacts t1
INNER JOIN contacts t2 
WHERE 
    t1.id < t2.id AND 
    t1.email = t2.email;Code language: SQL (Structured Query Language) (sql)
Source by www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #mysql #remove #duplicates
ADD COMMENT
Topic
Name
9+3 =