🏠 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
medium

Monthly Sales Report Query

#sql #database #reporting

Generate a SQL query for aggregating sales data.

Write a SQL query for a table named 'orders' with columns 'order_id', 'customer_id', 'amount', and 'order_date'. The query should return the total sales amount and the number of orders for each month in the year 2023, ordered by month.