0182. Duplicate Emails
Description
+-------------+---------+
| Column Name | Type |
+-------------+---------+
| Id | int |
| Email | varchar |
+-------------+---------+
Id is the primary key column for this table.
Each row of this table contains an email. The emails will not contain uppercase letters.**Input:**
Person table:
+----+---------+
| Id | Email |
+----+---------+
| 1 | a@b.com |
| 2 | c@d.com |
| 3 | a@b.com |
+----+---------+
**Output:**
+---------+
| Email |
+---------+
| a@b.com |
+---------+
**Explanation:** a@b.com is repeated two times.ac
Last updated