How Should a Business Ranking Handle Tied Scores?

Three proposals receive scores of 90, 90, and 80. One report labels them first, first, and third. Another labels them first, first, and second. A third assigns first, second, and third. All three displays can follow a consistent rule, but they communicate different things.
Before implementing a ranked list, decide what a position means and how ties affect selection. This is especially important when the report is used to choose a fixed number of items for discussion.
Separate score groups from unique positions
A score group contains all records with the same ranking value. A unique position distinguishes every record even when scores match. Neither definition is automatically the appropriate business policy.
PostgreSQL's window-function documentation distinguishes row_number, which numbers rows, rank, which gives tied peers the same rank with gaps afterward, and dense_rank, which numbers peer groups without gaps. Peer groups depend on the window's ordering expressions.
That final detail matters: adding a unique identifier to the window ordering can remove ties for ranking purposes. A secondary display order and a business tie definition should be considered separately.
An illustrative comparison
For proposals Pine and Willow at 90 and Maple at 80, ranking only by descending score gives rank values 1, 1, 3 and dense_rank values 1, 1, 2. A row-number policy gives three distinct positions, with an explicit secondary ordering needed to choose between Pine and Willow consistently.
A rule selecting rank at most two includes Pine and Willow. A rule selecting the first two dense-rank groups includes all three proposals. A rule selecting two numbered rows includes two records. The phrases top two proposals and top two score levels are therefore not interchangeable.
Define the cutoff in plain language
Ask the owner to choose among fixed record count, all records tied at a threshold, or a fixed number of distinct score groups. Document the choice before the report is used.
If a meeting has capacity to discuss only two proposals, including every tie may exceed that capacity. The team needs a separate and transparent selection rule. Do not conceal that decision inside an arbitrary database order or describe an identifier-based tie-break as evidence of superior merit.
Create a fixture that challenges the boundary
Use more than one tie group and place a tie at the proposed cutoff. Include one missing score, and decide separately whether that record is excluded, placed in an unscored section, or displayed with a clear status.
Check the exact identifiers selected, the displayed positions, and the labels used in the export. If an interface shows a rank that differs from the selection policy, readers may reasonably believe that qualifying records have been omitted.
Test a changed score
Move one proposal from 80 to 90 in the fixture. Predict the revised groups before running the query. Check whether the number of selected records changes as expected.
Then restore the score and confirm the original result. This small exercise helps distinguish a deliberate tie policy from accidental ordering behavior. It also exposes reports that calculate rank before applying the population filter when the intended ranking is within that filtered population.
Explain the policy where readers need it
Use a concise note such as tied scores share a position and later positions contain gaps. If the report instead selects score groups, say so. Avoid a generic label like ranking method applied when the method affects inclusion.
Preserve the score definition and its version with the ranking policy. A precise ranking calculation does not establish that the underlying score is valid, complete, or suitable for a consequential decision.
Review the outcome rather than the function name
A reviewer should be able to predict the result of the three-proposal fixture without reading SQL. If they cannot, the policy needs clearer wording.
Complete the handoff with expected outputs for ties, missing scores, and the cutoff. This makes future changes reviewable and keeps a convenient database function from silently deciding what the organization means by position.
Continue with How Do You Make a SQL Top-Ten Work Queue Predictable? for the related planning decision.
The published FutureOS introduction describes the project as being in prelaunch. Use this guide to prepare a concrete project discussion; it does not announce an available FutureOS feature.
Prepared with AI assistance. Primary sources checked on October 25, 2026. Examples and procedures are illustrative editorial guidance, not FutureOS product announcements or an independently reviewed assessment.



Comments