🏠 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

Generate SQL Query

#sql #database #data

Create a SQL statement to retrieve specific data.

Write a SQL query to select the top 5 customers with the highest total purchase amount from a table named 'orders', assuming the table has columns 'customer_id' and 'total_amount'. Order the results by the total amount in descending order.