Loading lesson path
Concept visual
Start at both ends
Return the smallest value of the list of arguments:
SELECT LEAST(3, 12, 34, 8, 25);The LEAST() function returns the smallest value of the list of arguments.
See also the GREATEST() function.
arg1, arg2, arg3, ...)
Description arg1, arg2, arg3, ... Required. The list of arguments to be evaluated
From MySQL 4.0
Return the smallest value of the list of arguments:
SELECT LEAST("w3Schools.com", "microsoft.com", "apple.com");❮ MySQL Functions