how to delete all the duplicate records