mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-14 03:41:41 +08:00
add leetcode problem-cn part6
This commit is contained in:
23
算法题(国内版)/problem (Chinese)/查找重复的电子邮箱 [duplicate-emails].html
Normal file
23
算法题(国内版)/problem (Chinese)/查找重复的电子邮箱 [duplicate-emails].html
Normal file
@@ -0,0 +1,23 @@
|
||||
<p>编写一个 SQL 查询,查找 <code>Person</code> 表中所有重复的电子邮箱。</p>
|
||||
|
||||
<p><strong>示例:</strong></p>
|
||||
|
||||
<pre>+----+---------+
|
||||
| Id | Email |
|
||||
+----+---------+
|
||||
| 1 | a@b.com |
|
||||
| 2 | c@d.com |
|
||||
| 3 | a@b.com |
|
||||
+----+---------+
|
||||
</pre>
|
||||
|
||||
<p>根据以上输入,你的查询应返回以下结果:</p>
|
||||
|
||||
<pre>+---------+
|
||||
| Email |
|
||||
+---------+
|
||||
| a@b.com |
|
||||
+---------+
|
||||
</pre>
|
||||
|
||||
<p><strong>说明:</strong>所有电子邮箱都是小写字母。</p>
|
Reference in New Issue
Block a user