Sql Server Group By First Value, I have used ROW_NUMBER() function but still its showing all records on each group.