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

SQL Query Construction

#sql #data #database

Generate a complex SQL query based on requirements.

Act as a Database Administrator. Write a PostgreSQL query to find the top 5 users by total spend in the last 30 days. The table is 'orders' with columns 'user_id', 'amount', and 'created_at'.