SyntaxFix
Write A Post
Hire A Developer
Questions
With duplicates As (Select *, ROW_NUMBER() Over (PARTITION by EmpID,EmpSSN Order by EmpID,EmpSSN) as Duplicate From Employee) delete From duplicates Where Duplicate > 1 ;
This will update Table and remove all duplicates from the Table!