Reference material for MIN
NULL
values are ignored. If all inputs are NULL
, MIN
returns NULL.
Parameter | Description | Supported input types |
---|---|---|
<expression> | The expression whose minimum to determine | Any type |
tournaments
table:
name | totalprizedollars |
---|---|
The Drift Championship | 22,048 |
The Lost Track Showdown | 5,336 |
The Acceleration Championship | 19,274 |
The French Grand Prix | 237 |
The Circuit Championship | 9,739 |
totalprizedollars
column, MIN
will return the smallest value.
237
MIN
can also work on text or array columns, in which case it returns the lexicographically smallest value. In this example, the function assesses the name
column in the tournaments
table.
The Acceleration Championship