explain_query
Reveals the execution plan for a SELECT query, showing how the database will run it to help identify performance bottlenecks.
Instructions
Explain the execution plan for a SELECT query.
Args: query: SQL SELECT or WITH...SELECT statement to explain. connection_name: Name of the database connection (default: "default").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| connection_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |