can you please provide sample data. this will help in figuring out what to do and what to key off as followsdeclare @US_CA_ytd_6 table(id int identity(1,1), [SKU Number] nvarchar(255), [Country of Ultimate Destination Code] nvarchar(255), [2011 Cost] decimal(10,2))insert into @US_CA_ytd_6SELECT 'V4C3D5R2', 'USA', 1556.99UNION ALLSELECT 'V4C3D5R3', 'Canada', 1556.99UNION ALLSELECT 'V4C3D5R4', 'Canada', 1556.99UNION ALLSELECT 'V4C3D5R3', 'Canada', 1556.99;with dups(id, rn)AS(SELECT id , ROW_NUMBER() OVER(PARTITION BY [SKU Number] ORDER BY [SKU Number] DESC) as rn FROM @US_CA_ytd_6) DELETE FROM @US_CA_ytd_6WHERE id in (SELECT id from dups where rn > 1)SELECT * FROM @US_CA_ytd_6
If you don't have the passion to help people, you have no passion