🏠 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

Generate SQL Query

#sql #database #query

Write a SQL query based on a specific data requirement.

Write a SQL query for a PostgreSQL database that retrieves the top 5 customers by total spend in the last month. Assume tables named 'customers' and 'orders' linked by 'customer_id'. Include joins and ordering.