A MySQL query retrieves:
totalpoints -- name 55 -- John Doe 55 -- John Doe 55 -- John Doe 55 -- John Doe 55 -- John Doe 21 -- Jean London 21 -- Jean London 13
What about using DISTINCT? Seems pretty easy... But you actually tried to google it? ou would have found it in no time.