I have a table that has a lot of duplicates in the Name column. I\'d like to only keep one row for each.
The following lists the duplicates, but I don\'t know how to
WITH CTE AS ( SELECT ROW_NUMBER() OVER (PARTITION BY [emp_id] ORDER BY [emp_id]) AS Row, * FROM employee_salary ) DELETE FROM CTE WHERE ROW <> 1