Syntax
Parameters
Return Types
NUMERICif the input is typeINTEGER,BIGINTorNUMERICDOUBLE PRECISIONif the input is typeREALorDOUBLE PRECISION
Example
The example below shows each player’s score alongside the average score for their level. Unlike a regularAVG() aggregation, the window function keeps one row per player while also computing the per-level average.
Rows: 5Execution time: 2.78ms