🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna
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.