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

Generate SQL Query

#sql #database #data

Write a SQL query to get top customers.

Write a SQL query for a table named 'orders' with columns 'customer_id', 'order_date', and 'total_amount'. The query should return the top 5 customers who spent the most money in the last 30 days.