🏠 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

Generate SQL Query

#sql #database #data-analysis

Create a SQL query based on a natural language description.

Write a SQL query for a PostgreSQL database that selects the top 5 customers who spent the most money in the last month. Assume a table named 'orders' with columns 'customer_id', 'total_amount', and 'order_date'.