cume_dist()

The number of partition rows preceding or peer with current row / total partition rows.

Reference: DuckDB 2.0.0

Arguments & returns

cume_dist()

window
Overload link Returns
#01 DOUBLE

Example

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

Engine example with sample data · Run to view results.