an interview question :"when does mysql index not take in useage ?" someone say:" when use '%' in like and '%' is the first char."
then I test the sql, and get puzzled...
does he means 1.in some like case mysql do not use index for searching
or
2.when meeting '%abc' or '%abc%', still using index but will go on full index scan, then index is lose effect ???