182_Duplicate Emails
Write a SQL query to find all duplicate emails in a table namedPerson
.
For example, your query should return the following for the above table:
Note: All emails are in lowercase.
Solution 1: GROUP BY + HAVING + COUNT()
Duplicated emails existed more than one time.
Solution 2: self join
Last updated