SQLite MIN() Function
Definition and Usage
With one argument, MIN() is an aggregate function. It returns the smallest value in a group.
With two or more arguments, MIN() returns the smallest of the arguments. Then it returns NULL if any argument is NULL.
Tip: Also look at MAX().
Syntax
MIN(expression)
MIN(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 |
|---|