MAX()
Maximum
Returns a result of the same data type the input expression.
MAX ([ALL | DISTINCT] <expr>)
| Parameter | Description |
|---|---|
expr |
Expression.It may contain a table column, a constant, a variable, an expression, a non-aggregate function or a UDF.Aggregate functions are not allowed as expressions. |
MAX returns the maximum non-NULL element in the result set.
-
If the group is empty or contains only
NULLs, the result isNULL. -
If the input argument is a string, the function will return the value that will be sorted last if
COLLATEis used. -
This function fully supports text
BLOBs of any size and character set.
|
Note
|
The |