Skip to content

Commit 3315e1f

Browse files
committed
solve problem of database Duplicate Emails
1 parent 7b97dff commit 3315e1f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ All solutions will be accepted!
3737
|404|[Sum Of Left Leaves](https://leetcode-cn.com/problems/sum-of-left-leaves/description/)|[java/py/js](./algorithms/SumOfLeftLeaves)|Easy|
3838

3939
# Database
40-
|596|[Big Countries](https://leetcode-cn.com/problems/big-countries/description/)|[mysql](./database/BigCountries)|Easy|
40+
|596|[Big Countries](https://leetcode-cn.com/problems/big-countries/description/)|[mysql](./database/BigCountries)|Easy|
41+
|182|[Duplicate Emails](https://leetcode-cn.com/problems/duplicate-emails/description/)|[mysql](./algorithms/DuplicateEmails)|Easy|

database/DuplicateEmails/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Duplicate Emails
2+
This problem is easy to solve

database/DuplicateEmails/solution.sql

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
select Email from Person group by Email having count(*) > 1

0 commit comments

Comments
 (0)