LeetCode刷题实战182:查找重复的电子邮箱
Write a SQL query to find all duplicate emails in a table named
Person
.
题意
解题
select Email from Person group by Email having count(Email) > 1;
评论
Write a SQL query to find all duplicate emails in a table named
Person
.
select Email from Person group by Email having count(Email) > 1;