max
max
Introduced in: v1.1
Aggregate function that calculates the maximum across a group of values.
Syntax
Arguments
column— Column name or expression.Any
Returned value
The maximum value across the group with type equal to that of the input. Any
Examples
Simple max example
Max with GROUP BY
Note about non-aggregate maximum