LEAST

LEAST(expr1,expr2[,...])
LEAST returns the lowest value of the expressions. The returned data type is based on the data type of the first expression.