max()

Returns the maximum value in the expression. It ignores an expression that returns null. Comparing different types results in undefined behavior.

Syntax

max(EXPR)
Required Parameters
EXPR
Expression of any type