Eliminar C1 de TableName C1 Unión interna Tablename C2 donde C1.id> C2.id y C1.unique_field = C2.Unique_Field;
SELECT name, email, COUNT(name)
FROM student_contacts
GROUP BY name
HAVING COUNT(name) > 1;
vicky chary