Given this table:
create table t (EventId int
,Section int
,PlayerName nvarchar(50)
,Score int
,Rank int
)
I try to write T-SQL that has EventId and use the function RANKto rank by score but with divided sections (each rating for each section, Rank 1 for the highest score in each section, and so on), and then install / update rank values
source
share