题目链接:196. 删除重复的电子邮箱 - 力扣(LeetCode)
题目描述
sql语句
sql
# Write your MySQL query statement below
delete a
from person as a inner join person as b
where a.email = b.email and a.id > b.id
思路:内连接形成笛卡尔积