Consulta SQL para encontrar duplicatas na coluna
SELECT name, COUNT(email)
FROM users
GROUP BY email
HAVING COUNT(email) > 1
Unusual Unicorn
SELECT name, COUNT(email)
FROM users
GROUP BY email
HAVING COUNT(email) > 1