![]() Previous |
![]() Next |
The LEAST function returns the smallest expression in a list of expressions. All expressions after the first are implicitly converted to the data type of the first expression before the comparison.
To retrieve the largest expression in a list of expressions, use GREATEST.
Return Value
The data type of the first expression.
Syntax
LEAST (expr [, expr]...)
Parameters
An expression.
Examples