encontrado duplicados sql teniendo

SELECT username, email, COUNT(*)
FROM users
GROUP BY username, email
HAVING COUNT(*) > 1
Obedient Ocelot