mysql> mysql> SELECT 'AB' <> 'ABC'; +---------------+ | 'AB' <> 'ABC' | +---------------+ | 1 | +---------------+ 1 row in set (0.00 sec) mysql>