🏠 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
Intermediate

SQL Query Creation

#sql #database #data-analysis

Generate a complex SQL query based on a natural language request.

You are a database expert. I have a table named 'Orders' with columns: OrderID, CustomerID, OrderDate, and TotalAmount. Write a SQL query to find the top 5 customers by total spending in the year 2023. Include the CustomerID and the sum of their TotalAmount.