skip to Main Content

Delete duplicates with condition – Mysql

I have the table contacts which contains duplicate records: id name is_contacted created_at I need to delete duplicates, but keep the first record(among the duplicates for each name) where is_contacted=1. If among the record duplicates there are no records where…

VIEW QUESTION
Back To Top
Search