The code provided by crimaniak lists the names, firstnames of the persons, but not the different IDs concerned.
Depending on what your database allows you to do (e.g. ORACLE does), you can also get the IDs with a query like this:
select PID, FirsName, Lastname
FROM tablename
where Firstname, Lastname in (
SELECT FirstName,LastName,COUNT(*) as cnt
FROM tablename
GROUP BY FirstName,LastName
HAVING cnt>1 )
order by FirstName, Lastname
Note that you might have more than one "Jon Smith" in your database, being really different people!
Have a nice day,
JJ Mouris