linhas duplicadas de consulta SQL
SELECT username, email, COUNT(*)
FROM users
GROUP BY username, email
HAVING COUNT(*) > 1
Obedient Ocelot
SELECT username, email, COUNT(*)
FROM users
GROUP BY username, email
HAVING COUNT(*) > 1
SELECT DISTINCT col1,col2... FROM table_name where Condition;