# Write your MySQL query statement below
select distinct t1.Email
from
Person t1,
Person t2
where
t1.Id != t2.Id
and t1.Email = t2.Email;
select Email
from
(
select Email, count(Email) as num
from Person
group by Email
) as temp
where num > 1;
select Email
from Person
group by Email
having count(Email) > 1;
182. 查找重复的电子邮箱 + group by + having
原文:https://www.cnblogs.com/GarrettWale/p/14470543.html