VIP 👤
🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki 🔌 API i routery AI
hard

Complex SQL Query Writer

#sql #database #data-analysis

Write a SQL query to retrieve specific data involving joins and aggregations.

Write a PostgreSQL query to find the top 10 customers by total spending in the year 2023. Assume you have two tables: 'customers' (id, name) and 'orders' (customer_id, amount, order_date). The result should show customer name and total amount spent.