SQL Query Optimizer
Optimize SQL queries for performance and best practices
60 views
0 copies
C
nextpj·Mar 2, 2026
codingsqldatabaseoptimizationperformance
Content
Optimize the following SQL query: ```sql {{sql_query}} ``` Database: {{database_type}} Table context: {{table_context}} Provide: 1. Optimized query with improvements explained 2. Index recommendations 3. Performance analysis 4. Potential issues with original query 5. Execution plan comparison
Related Prompts
Vibe Coding Sprint Planner
Plan a rapid prototyping session using AI-assisted vibe coding methodology
810vibe-coding
Chain-of-Verification Generator
Generate self-verifying prompts that ask the AI to check its own outputs against criteria
570verification
RAG Knowledge Base Query Optimizer
Optimize queries for retrieval-augmented generation systems
660rag
Tree of Thoughts Problem Solver
A prompt technique that explores multiple reasoning paths simultaneously, generating and evaluating different thought branches to find optimal solutions.
480reasoning