MAX function

The MAX function returns the content of the argument-1 that contains the maximum value.

Format.

          FUNCTION MAX ( { argument-1 } ... )