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

Write a SQL Query

#sql #database #data-analysis

Construct a SQL query to retrieve specific aggregated data.

Write a SQL query for a table named 'Orders' with columns 'order_id', 'customer_id', 'order_date', and 'total_amount'. The query should find the top 3 customers who spent the most money in the year 2023. Return the customer_id and the total sum spent.