I have one table named tblm_customer.
It contain field named firstname and lastname. Now I want to delete all records from the table that contain the same firstname and lastname that are already in the table.
I used mysql database and customerid is the primary key in the table.
Following delete removes all duplicates, leaving you with the latest CustomerID
A note of warning though. I don’t know your use case but it is perfectly possible to have two people with the exact same name (we even had the addres being the same at one time).