fairyin

explain select

查询sql语句的执行效率和是否使用索引,

根据字段的先后顺序来设计联合索引。

1、where

2、group by

3、order by (不走索引)

分类:

技术点:

相关文章: