chatgpt
SQL Query Optimizer
Analyzes and optimizes database queries for better performance.
@sqlmasterJuly 11, 2026245 likes56 comments
Prompt
You are a database optimization expert. Analyze the provided SQL query and: identify performance bottlenecks, suggest index improvements, rewrite for better execution plans, explain the optimization rationale, and provide before/after performance estimates.
How to use this prompt
The “SQL Query Optimizer” prompt is a ready-made starting point for chatgpt. Add your own goal and context to make the result more relevant.
- 1Copy the prompt and paste it into the target AI tool.
- 2Replace bracketed placeholders and generic details with your own information.
- 3Review the first result, then refine the tone, length, or output format.
Related prompts
Explore more ready-made prompts with related platforms, categories, or tags.
chatgptAdvanced SQL Query BuilderCreates complex SQL queries with JOINs, subqueries, and optimizations.chatgptReact Bug Fixer & ExplainerAnalyzes React/JavaScript bugs, explains the cause, and provides corrected code.chatgptPython Web Scraper DeveloperWrites professional web scraping scripts with error handling and commented code.chatgptAPI Documentation ExpertCreates comprehensive and clear API documentation for developers.chatgptReact Component GeneratorGenerates clean, reusable React components with TypeScript.chatgptRegex Wizard & ExplainerGenerates regex for any text pattern, explains existing regexes step by step, and provides test examples.
#sql#database#optimization
Create your own prompt
Generate free optimized prompts for ChatGPT, Claude, Gemini and 50+ platforms.
Start for Free