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