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

Generate SQL Query

#sql #database #data-analysis

Write a SQL query to extract specific data from a theoretical database schema.

Write a SQL query to find the top 3 customers who spent the most money in the last month. Assume a table named 'sales' with columns: customer_id (int), amount (decimal), and transaction_date (datetime). Include the total amount spent by each customer in the result.