SQLite MAX() Function
Definition and Usage
With one argument, MAX() is an aggregate function. It returns the largest value in a group.
With two or more arguments, MAX() returns the largest of the arguments. Then it returns NULL if any argument is NULL.
Tip: Also look at MIN().
Syntax
MAX(expression)
MAX(value1, value2, ...)
Parameter Values
| Parameter | Description |
|---|---|
| expression | A column or a calculation |
| value1, value2, ... | Two or more values to compare |
Technical Details
| Return type: | Same as the input |
|---|