Detta ger listan över dubbletter:
SELECT firstname, lastname, COUNT(*)
FROM person
GROUP BY firstname, lastname
HAVING COUNT(*) > 1;
Om du vill se siffrorna för varje rad, ta bort having-satsen:
SELECT firstname, lastname, COUNT(*)
FROM person
GROUP BY firstname, lastname;