mysql 不走索引的情形

mysql 不走索引的情形:mysql 1. null 值判断;sql 2. != , <> 操做符;函数 3. or(大多数状况下);spa 4. in(大多数状况下);blog 5. like的使用(大多数状况下);索引 6. where 子句中对字段进行表达式操做,eg: select id from t where num/2=100 ;it 7. 在 where 子句中对字段进行函数操做
相关文章
相关标签/搜索