Mega Code Archive
Categories
/
MySQL Tutorial
/
Comparison Functions Operators
LEAST(value1,value2, ) returns the smallest (minimum-valued) argument withing two or more arguments
mysql> mysql> SELECT LEAST(2,0); +------------+ | LEAST(2,0) | +------------+ | 0 | +------------+ 1 row in set (0.00 sec)