Eliminating Duplicate Rows using The PARTITION BY clause – SQLServerCentral

The Partition clause in the Row_Number() Over() function is a quick tool for eliminating duplicate rows.