min between two numbers mysql code example Example: mysql select smaller of two values SELECT LEAST(2,0);