What does the CUME_DIST() window function return?

SQL Data Analyst Medium

SQL Data Analyst — Medium

What does the CUME_DIST() window function return?

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