I have a database with duplicate customer records. However the only fields that duplicate are the first and last name fields and the id of the user connected to them. Not their ids. I have created a table with the duplicates. The problem is I have no idea how to write the statement to delete them. I have say three John Smiths, three different ids. The table I need to delete him from is based on id. I need to delete his first and second record but not the third. Some people repeat twice, some up to five times. Can I pull out a list of distinct names with ids to keep? Is it even possible to write a statement to delete the right records or is the only fix a manual one?