explain_query
Shows a SELECT/WITH query's execution plan without running it, with plain-language findings on full table scans, temporary sorts, automatic indexes, and CREATE INDEX suggestions.
Instructions
Show the execution plan of a SELECT / WITH query without running it (EXPLAIN QUERY PLAN), as an indented tree, followed by plain-language findings: full table scans (with row counts), temporary B-tree sorts for ORDER BY / GROUP BY / DISTINCT, and automatic indexes SQLite has to build on every run. Missing-index suggestions are returned as CREATE INDEX text only; nothing is ever created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |