explain参数之select_type
|
Select_type |
说明 |
|
Simple |
简单select(不使用union或子查询) |
|
Primary |
最外层的select |
|
Union |
Union中第二个或之后的select语句 |
|
Dependent union |
Union中第二个或之后的select语句取决于外面的查询 |
|
Union result |
Union的结果 |
|
Subquery |
子查询的第一个select |
|
Dependent subquery |
子查询的第一个select,取决于外面的查询 |
|
Derived |
衍生表(from子句中的查询) |
|
Materialized |
物化子查询 |
|
Uncacheable subquery |
结果集无法缓存的子查询,必须重新评估外部查询的每一行 |
|
Uncacheable union |
Union中的第二个或之后的select,属于无法缓存的子查询 |
欢迎批评指正,提出问题,谢谢!

浙公网安备 33010602011771号