🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[182\. 查找重复的电子邮箱](https://leetcode-cn.com/problems/duplicate-emails/) === ![](https://box.kancloud.cn/40be05214278f8a7cd9fe1ffd15a9aae_457x473.png) ### 今天面试遇到这个问题,恨啊!没有作这一到题 哭 ### 解题 方法一 `SELECT Email from Person GROUP BY Email having count(Email)>1` ### 解题 方法二 ``` SELECT Email from ( SELECT Email,count(Email) AS num FROM Person GROUP BY Email ) as ns where num > 1; ```