📜  mysql 删除重复项 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:32.900000             🧑  作者: Mango

代码示例6
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)