The MAX function returns the content of the argument-1 that contains the maximum value.
FUNCTION MAX ( { argument-1 } ... )