Удалить C1 из TableName C1 Inner Join TableName C2, где C1.id> C2.id и C1.unique_field = c2.unique_field;
SELECT name, email, COUNT(name)
FROM student_contacts
GROUP BY name
HAVING COUNT(name) > 1;
vicky chary