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
Vibe Coding Feature Builder
Describe a feature in plain English and get a complete implementation plan with code architecture, components, and step-by-step build instructions for AI-assisted development.
API Documentation Generator
Generate comprehensive API documentation including endpoints, parameters, responses, and examples.
Regex Pattern Generator and Explainer
Generates precise regular expressions for any text matching task and explains each component in plain English, with test cases and language-specific implementation code.
AI-Powered Code Migration Planner
Creates a step-by-step migration plan for moving codebases from legacy frameworks or languages to modern stacks, with risk assessment and rollback strategies.