Rows retain their identities while receiving separate position and tied-rank values.

Window functions rank rows without collapsing groups

Ranking functions attach a position to each input row within a partition. They do not collapse a team, department, or customer into one aggregate row. The important choice is what a tie means: a unique position, a shared competition rank with gaps, or a shared rank counting distinct score groups. ...

February 8, 2028 · 5 min · XB Field Notes