VIP 👤
🏠 Inicio
Pruebas de rendimiento
📊 Todos los benchmarks 🦖 Dinosaurio v1 🦖 Dinosaurio v2 ✅ Aplicaciones To-Do List 🎨 Páginas libres creativas 🎯 FSACB - Showcase definitivo 🌍 Benchmark de traducción
Modelos
🏆 Top 10 modelos 🆓 Modelos gratuitos 📋 Todos los modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de prompts 📖 Glosario de IA 🔗 Enlaces útiles 🔌 API y routers
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.