What does prefixing a SELECT query with EXPLAIN do in MySQL?
Correct answer
D. Shows the query execution plan
20 views
D. Shows the query execution plan
20 views
EXPLAIN reveals how MySQL will run the query: which indexes it uses, the join order and estimated rows scanned. It is the first step in diagnosing slow queries.
Asked in: NTS, Technical Interviews
Not sure why the answer is D? Ask here and get an explanation.