🏠 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

SQL Query Construction

#sql #database #query

Generate a SQL query for specific data retrieval.

Write a SQL query to select the top 10 customers by total purchase amount from a table named 'sales'. Assume the table has columns 'customer_id', 'purchase_amount', and 'transaction_date'.