🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
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.