GREATEST scalar function

The GREATEST function returns the maximum value in a set of values.

Read syntax diagramSkip visual syntax diagramGREATEST( expression, expression)

The GREATEST function is identical to the MAX scalar function. For more information, see MAX scalar function.