rank_dense()

The rank of the current row without gaps

Reference: DuckDB 2.0.0

Alias of dense_rank()

Arguments & returns

rank_dense()

window
Overload link Returns
#01 BIGINT

Example

rank_dense example
SQL
Haybarn WASM 2.0.0-rc12 · In your browser

Engine example with sample data · Run to view results.