Pergunta de entrevista da empresa PayMob

how would you deal with duplicates into a database table?