How delete Duplicate Rows in Table
WITH DeleteDuplicate_Rows
AS (
SELECT
E.Name
,Row_Number()Over(Partition By E.name Order by Name )AS DuplicateRows
FROM Employee E)
Delete from DeleteDuplicate_Rows
Where DuplicateRows > 1
Share This with your friend by choosing any social account