VIP 👤
🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki 🔌 API i routery AI
Expert

SQL Query Performance Optimizer

#sql #database #optimization

Reviews complex SQL queries for performance bottlenecks and suggests execution plan improvements.

Review the provided SQL query. Assume a standard relational database schema with millions of rows in the referenced tables. Analyze the query for potential full table scans, inefficient joins, and suboptimal use of CTEs or subqueries. Rewrite the query to optimize performance. Provide a line-by-line explanation of why your changes improve the execution plan, suggesting specific indexes that would further boost performance.