182. 查找重复的电子邮箱

COUNT

https://leetcode.cn/problems/duplicate-emails/description/

节后第一题,写个SQL找找手感。

SQL
# Write your MySQL query statement below
SELECT email
FROM Person
GROUP BY email 
HAVING COUNT(email)>1
Subscribe
提醒
0 评论
Inline Feedbacks
View all comments
0
在此留下你的评论x