Does wildcard in left-most column of composite index mean remaining columns in index aren't used in index lookup (MySQL)?
问题 Imagine you have a primary composite index of last_name,first_name . Then you performed a search of WHERE first_name LIKE 'joh%' AND last_name LIKE 'smi%' . Does the wildcard used in the last_name condition mean that the first_name condition will not be used in further helping MySQL find indexes? In other words, by putting a wildcard on the last_name condition MySQL will only do a partial index lookup (and ignores conditions given in the columns that are to the right of last_name)? Further