No, because MySQL will not be able to utilize the index when you have a leading wildcard. If you changed your LIKE to ‘f%’, then it would be able to use the index.
More Related Contents:
- How to do the Recursive SELECT query in MySQL?
- MySQL indexes – what are the best practices?
- Mysql::Error: Specified key was too long; max key length is 1000 bytes
- Subqueries with EXISTS vs IN – MySQL
- 60 million entries, select entries from a certain month. How to optimize database?
- Checking multiple columns for one value
- Mysql covering vs composite vs column index
- Whats the fastest way to lookup big tables for points within radius MySQL (latitude longitude)
- Higher cardinality column first in an index when involving a range?
- Does Order of Fields of Multi-Column Index in MySQL Matter
- Does a UNIQUE constraint automatically create an INDEX on the field(s)?
- MySQL optimizing INSERT speed being slowed down because of indices
- MySQL – why not index every field?
- Recreating a query using INNER JOIN? [duplicate]
- How to perform grouped ranking in MySQL
- MySQL Trigger after update only if row has changed
- MySQL “WITH” clause
- mysql select dynamic row values as column names, another column as value
- MySQL “Group By” and “Order By”
- MySQL Query to select data from last week?
- SQL – IF EXISTS UPDATE ELSE INSERT INTO
- How do I use properly CASE..WHEN in MySQL
- How do I UPDATE a row in a table or INSERT it if it doesn’t exist?
- SQL unique varchar case sensitivity question
- How do I count columns of a table
- Why MySQL is giving error “Not allowed to return a result set from a function”?
- MySQL 5.6 – DENSE_RANK like functionality without Order By
- MySQL: Can I do a left join and pull only one row from the join table?
- MySQL OPTIMIZE all tables?
- Strip last two characters of a column in MySQL