The cume_dist()
window function returns a relative measure (0-1) of where the current row is in the result according to the order by
clause.
SELECT cume_dist() OVER (ORDER BY …)
FROM …
Related
Similar functions:
row_number()
,rank()
,percent_rank()
.
Normative References
The cume_dist()
window function is defined in ISO/IEC 9075:2016-2 as part of optional feature T612.