Array functions
ARRAY_MAX
Reference material for ARRAY_MAX function
Returns the maximum element in an array.
Syntax
Parameters
Parameter | Description | Supported input types |
---|---|---|
<array> | The array or array-type column to be checked | ARRAY |
Return Type
Same as the element type of the array.
Example
The following example calculates the maximum number in the levels
array:
Returns: 4