So your database is/was designed in a way that exact duplicate records could be inserted with no way to uniquely identify each row. Now that you need to delete duplicate rows you can do one of two things: Schema: Solution 1: One way to do this is by inserting the data into a temp table, …
Continue reading SQL – Deleting duplicate rows using ROW_NUMBER()