MySQL Function Reference

LEAST
Returns the minimum value from the list
MySQL 8.1
LEAST(num [,num])
Examples
MySQL 8.1
SELECT LEAST(1, 2, -1);