I want to remove duplicate records of table in MySQL database.
In that image id is auto increment but i want customer_invoice_id unique but want to delete duplicate record. E.G i want to delete 1104 record, but now i delete 1105 which is latest record with this query.
ALTER IGNORE TABLE table ADD UNIQUE KEY idx1(customer_invoice_id);