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
API Integration Troubleshooter
Diagnoses API integration issues, generates fixes, and produces a structured debugging report with root cause analysis, corrected code, and prevention checklist.
AI Agent System Behavior Tester
Generates a comprehensive test suite of adversarial, edge-case, and functional prompts to stress-test any AI agent or chatbot for reliability, safety, and performance.
Multi-Agent Orchestrator
Design and coordinate multiple AI agents to work together on complex tasks with role assignment and communication protocols.
Code Review Roast Session
Get a brutally honest but educational code review with humor