dbo.PeopleTest
DecadeBorn
FullName
PersonId
with x as ( select DecadeBorn ,FullName ,RowNumber = ROW_NUMBER() over (partition by DecadeBorn order by FullName) from dbo.PeopleTest ) select * from x where RowNumber = 1
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.