mysql> mysql> SELECT LEAST('B','A','C'); +--------------------+ | LEAST('B','A','C') | +--------------------+ | A | +--------------------+ 1 row in set (0.00 sec)