🏠 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

SQL Query Generation

#sql #database #data-analysis

Generates a SQL query based on specific data requirements.

Write a SQL query to select the top 10 users with the highest total spend from a table named 'orders'. Group the results by user_id and order them by total spend in descending order.