Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? クエリを最適化するということは、 ・書き換える前と後でクエリの実行結果が同じになる ・EXPLAINがよりよい実行結果を表示する クエリの実行計画を調べるためには、 SELECT文の先頭に「EXPLAIN」をつけて実行する ##フィールド ###id/select_type クエリの種類を表すもの。 クエリの種類とはJOIN、サブクエリ、UNIONおよびそれらの組み合わせのことで、 select_typeの内容もその組み合わせから導き出されたものである。 ####JOINの場合 MySQLが実行できるJOINの種類は「Nested Lo
