📜  识别具有 2 个相同列值的行并删除重复的 mysql 代码示例

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

代码示例2
DELETE c1 FROM contacts c1
INNER JOIN contacts c2 
WHERE
    c1.id > c2.id AND 
    c1.email = c2.email;
Code language: SQL (Structured Query Language) (sql)