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

Generate SQL Query

#sql #database #programming

Create a complex SQL query based on a natural language description.

Write a PostgreSQL query to find the top 5 customers who have spent the most money in the last 30 days. Assume there are two tables: 'customers' (id, name) and 'orders' (id, customer_id, amount, created_at). Include the customer name and the total amount spent.