Leetcode的SQL题:182. 查找重复的电子邮箱
链接:https://leetcode.cn/problems/duplicate-emails/
我的代码
select distinct a.email
from person a inner join person b
on a.id!=b.id and a.email = b.email
提交结果
提交结果 | 执行用时 | 内存消耗 | 语言 | 提交时间 | 备注 |
---|---|---|---|---|---|
通过 | 395 ms | 0 B | MySQL | 2022/07/01 15:23 |