Interview practice question
Monthly sales totals
Data Engineering · SQL · Beginner
Write a query to show total sales and number of orders per month for 2026.
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Truncate the order date to month.
- SUM the amount and COUNT orders per month.
- Filter the year with a date range, not a function on the column.
- Order by month.
- Watch time zone if timestamps are UTC.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.