What does the SQL
EXPLAIN command primarily show for a query?- aThe rows the query will return, without actually running it against the data
- bA list of every index defined on the tables referenced by the query
- cThe execution plan the optimizer chose, such as scan and join methods✓
- dThe exact wall-clock time the query took the last time it ran
Explanation:EXPLAIN reports the planner's chosen execution plan — which scans (sequential vs index), join methods, and order it intends to use, along with cost and row estimates — without returning the actual rows (a). It does not list all indexes (b); it shows only the ones the plan uses. Plain EXPLAIN estimates and does not execute, so it reports no real timing (d) — that requires EXPLAIN ANALYZE.