mysql select smaller of two values
snippet in sql

mysql select smaller of two values

user4631

SELECT LEAST(2,0);