Check and delete duplicate items on database

Hi; I am trying to solve the same problem. If you found the solution, can you share the sample code?