🏠 Home
Prestatietests
📊 Alle benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List applicaties 🎨 Creatieve vrije pagina's 🎯 FSACB - Ultieme showcase 🌍 Vertaalbenchmark
Modellen
🏆 Top 10 modellen 🆓 Gratis modellen 📋 Alle modellen ⚙️ Kilo Code
Bronnen
💬 Promptbibliotheek 📖 AI-woordenlijst 🔗 Nuttige links
Intermediate

SQL Query for Monthly Sales

#sql #database #data

Generate a SQL query to aggregate sales data by month.

Write a SQL query for a table named 'sales' with columns 'id', 'amount', and 'transaction_date'. The query should calculate the total sales amount for each month and order the results by the most recent month first.