Parameter | Type |
---|---|
value | any |
Returns: any
Example
query:
SELECT LEAST("foo", "bar")
results:
least |
---|
bar |
query:
SELECT LEAST(890, 1275)
results:
least |
---|
890 |
The function used to take two values and return the lesser of them in standard order. Works with numbers, strings, and dates.
Parameter | Type |
---|---|
value | any |
query:
SELECT LEAST("foo", "bar")
results:
least |
---|
bar |
query:
SELECT LEAST(890, 1275)
results:
least |
---|
890 |