833
833
WHERE id='a12' AND (LENGTH(code)=5 OR code < 'a00');
834
834
id select_type table type possible_keys key key_len ref rows filtered Extra
835
835
1 SIMPLE t2 const PRIMARY PRIMARY 42 const 1 100.00 Using index
838
838
Note 1003 select `test`.`t1`.`code` AS `code`,'a12' AS `id` from `test`.`t1` join `test`.`t2` where ((`test`.`t1`.`code` = 'a12') and <cache>(('a12' = 'a12')) and ((length(`test`.`t1`.`code`) = 5) or <cache>(('a12' < 'a00'))))