Skip to main content
Returns the maximum value within the requested window. For more information on usage, please refer to Window Functions.

Syntax

Parameters

Return Types

Same as input type

Example

The example below shows how each player’s score compares to the highest score in their level. Unlike a regular MAX() aggregation, the window function keeps one row per player while also showing the partition maximum.

Rows: 5Execution time: 1.21ms