percent_rank()

The relative rank of the current row as a fraction

Reference: DuckDB 2.0.0

Arguments & returns

percent_rank()

window
Overload link Returns
#01 DOUBLE

Example

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

Engine example with sample data · Run to view results.