🏠 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

Complex SQL Generation

#sql #database #query

Create a query joining three tables.

Act as a Database Administrator. Write a SQL query for a PostgreSQL database. The query needs to join the 'Users', 'Orders', and 'Products' tables. It should list the top 5 users by total spending in the last month, including their names and the total amount spent.