SQL Query Optimizer
Optimize SQL queries for performance and best practices
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
Code Migration Plan Generator
Creates a comprehensive migration plan for moving from legacy codebases to modern frameworks, including risk assessment and rollback strategies.
Full-Stack Vibe Coding Blueprint
Generate a complete full-stack app specification using vibe coding methodology
Parallel Coding Task Brief Generator
Break a complex software feature into parallel, independent coding tasks that multiple AI agents or developers can work on simultaneously without conflicts.
Incident Postmortem Generator
Create structured incident postmortem reports from incident details