Returns the smallest value from a list of expressions.
LEAST(expression) → same as input type
- expression: The arguments must include at least one expression. All the expressions should be of the same type or compatible types. Expressions must be of primitive data types.
SELECT LEAST(1, 5, 3, 8) -- 1
Was this page helpful?
Glad to hear it! Thank you for your feedback. Sorry to hear that. Thank you for your feedback.