I would like to ask how can I delete duplicate records in MySQL from my fingerprint table.
I need to delete any record if found the same created_date AND created_time AND employee_number
Thanks, Jassim
If you have auto increment key then,
DELETE f1 FROM fingerprint f1, fingerprint f2 WHERE f1.autoincreament < f2.autoincreament AND f1.created_date = f2.created_date AND f1.created_time = f2.created_time AND f1.employee_number = f2.employee_number Refer to link
psqltag.psqlis the PostgreSQL command-line client, and there's no sign this question has anything to do with it