Scalar. Returns the maximum value from a list of expressions.
maxof ( expression [,...] )
expression | There must be at least one argument, and all the arguments must be of the same datatype. |
Returns the maximum value from a list of expressions. NULL values are ignored. If all of the arguments are NULL, the function returns NULL. The arguments can be of any datatype, but they must be of the same datatype. The function returns the same datatype as its arguments.
maxof (1.34, 3.35, 10.93, NULL) returns 10.93.