SQL Data Analyst — Medium
Key points
- CUME_DIST() calculates the cumulative distribution of values
- The result is a proportion between 0 and 1
- It is based on the ORDER BY value in the query
- Useful for analyzing the distribution of data points
Ready to go further?
Related questions
