Explains complex SQL queries in plain English, step by step. Great for onboarding engineers or debugging unfamiliar queries.
Explain the following SQL query in plain English. Break it down step by step so a junior developer can understand it.
Query:
{{query}}
Database context: {{db_context}}
Structure your explanation as:
{{query}}long_textrequiredThe SQL query to explain{{db_context}}stringBrief description of the database schema