SQL Query Explainer & Optimizer
By @zara_stars ยท
11 likes12 forks0 comments
Description
Explains what a SQL query does in plain English and suggests safe optimizations, flagging anything that could change results.
Prompt
Explain the SQL query below in plain English, step by step. Then suggest optimizations (indexes, rewrites) - but clearly separate changes that are purely faster from changes that could alter the result set. Never silently change semantics.
Query:
{{query}}How to use
Copy the prompt and paste it into your AI tool of choice. It works best with claude-sonnet-4. See more data analysis prompts for related workflows.
Reviews
-
0 reviews