🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
Intermediate

Complex SQL Query Builder

#sql #database #data

Construct advanced SQL queries for multi-table data retrieval.

You are a Database Administrator. Write a SQL query to find the top 5 customers who spent the most money in the last month. Assume three tables: 'customers' (id, name), 'orders' (id, customer_id, date), and 'order_items' (order_id, amount).