Попробуйте следующий код.Я думаю, это то, что вы ищете
CREATE TABLE [dbo].[route_fixcodes](
[route_id] [INT] NULL,
[fixcode] [INT] NULL,
[fixdescription] [NVARCHAR](50) NULL
) ON [PRIMARY]
GO
INSERT INTO [route_fixcodes]
([route_id] ,[fixcode],[fixdescription])
VALUES
(995063,100,'Issue Observed'),
(995063,137,'Swap Altice One Pack'),
(995063,249,'Defective CPE Equip.'),
(995063,112,'Outside coax repair'),
(995063,258,'Preventative Maint'),
(995063,100,'Issue Observed'),
(995063,137,'Swap Altice One Pack'),
(995063,249,'Defective CPE Equip.'),
(995063,112,'Outside coax repair'),
(995063,258,'Preventative Maint'),
(995063,100,'Issue Observed'),
(995063,137,'Swap Altice One Pack'),
(995063,249,'Defective CPE Equip.'),
(995063,112,'Outside coax repair'),
(995063,258,'Preventative Maint')
GO
SELECT * INTO #route_seq FROM dbo.route_fixcodes
ALTER TABLE #route_seq ADD seq [INT] IDENTITY(1,1)
SELECT MIN(seq) AS newseq, route_id,fixcode,fixdescription
FROM #route_seq
group by route_id,fixcode,fixdescription
ORDER BY MIN(seq)