Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9093549

Browse files
committed
update 182
1 parent d2989f5 commit 9093549

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

182-duplicate_emails.sql

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
182. Duplicate Emails
1+
-- 182. Duplicate Emails
2+
3+
-- Write a SQL query to find all duplicate emails in a table named Person.
4+
5+
-- +----+---------+
6+
-- | Id | Email |
7+
-- +----+---------+
8+
-- | 1 | a@b.com |
9+
-- | 2 | c@d.com |
10+
-- | 3 | a@b.com |
11+
-- +----+---------+
12+
13+
-- For example, your query should return the following for the above table:
14+
15+
-- +---------+
16+
-- | Email |
17+
-- +---------+
18+
-- | a@b.com |
19+
-- +---------+
20+
21+
-- Note: All emails are in lowercase.
22+

0 commit comments

Comments
 (0)