mysql> mysql> SELECT LEFT('ABCDEFG', 3); +--------------------+ | LEFT('ABCDEFG', 3) | +--------------------+ | ABC | +--------------------+ 1 row in set (0.00 sec) mysql>