Skip to content

Commit 6ce57a5

Browse files
authored
Create Delete Duplicate Emails.sql
1 parent ca5b4df commit 6ce57a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

easy/Delete Duplicate Emails.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
--196. Delete Duplicate Emails--
2+
# Please write a DELETE statement and DO NOT write a SELECT statement.
3+
# Write your MySQL query statement below
4+
delete A from Person A, Person B
5+
where A.id > B.id and A.email=B.email;

0 commit comments

Comments
 (0)