🏠 Startseite
Vergleiche
📊 Alle Benchmarks 🦖 Dinosaurier v1 🦖 Dinosaurier v2 ✅ To-Do-Listen-Apps 🎨 Kreative freie Seiten 🎯 FSACB - Ultimatives Showcase 🌍 Übersetzungs-Benchmark
Modelle
🏆 Top 10 Modelle 🆓 Kostenlose Modelle 📋 Alle Modelle ⚙️ Kilo Code
Ressourcen
💬 Prompt-Bibliothek 📖 KI-Glossar 🔗 Nützliche 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.