Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 703 Bytes

File metadata and controls

19 lines (11 loc) · 703 Bytes

SQL Server CUME_DIST Function

Using SQL Server CUME_DIST() function over a result set example

To create a window we need to call AggregateBy() function, which let's specify the OVER clause:

Using SQL Server CUME_DIST() function over a partition example

The OVER clause accepts an ORDER clause as above or PARTITION clause as below:


< BACK | HOME