一位朋友的学习心得,蓝色字体是对这位朋友问题的分析和回答:
MySQL查询计划学习心得:
例子:
mysql> explain select * from (t1 left join t2 on true),(t3
full join t4 on true),t5
where id1=id2 and id2=id3 and id3=id4 and id4=id5;
+----+-------------+-------+--------+---------------+---------+---------+------------+------+----------------------------------------------------+
| id | select_type | table | type | possible_keys |
key | key_len |
ref | rows |
Extra
|
…