mysql 不走索引的情况

版权声明:本文为博主原创文章,转载请说明出处 https://blog.csdn.net/u010002184/article/details/89388600

1 or (待确认)、in(待确认)

2 like '%abc' 或者 like‘%abc%’

3 where num/2=100 或者 subString(a,1,3)='ab'

4 where id !=2 或者 where id <> 2

5 where name is null

猜你喜欢

转载自blog.csdn.net/u010002184/article/details/89388600