🏠 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

Write a SQL Query

#sql #database #data-analysis

Construct a SQL query to retrieve specific aggregated data.

Write a SQL query for a table named 'Orders' with columns 'order_id', 'customer_id', 'order_date', and 'total_amount'. The query should find the top 3 customers who spent the most money in the year 2023. Return the customer_id and the total sum spent.