Sectionย 1. Chapterย 11
single
Challenge: Monthly Order Summary
Swipe to show menu
Task
Swipe to start coding
Write a query to count the number of orders placed in each month.
- Group the orders by both year and month using the
order_datecolumn. - Count the total number of orders for each month.
- Return the year, month, and corresponding order count for each group.
Solution
Everything was clear?
Thanks for your feedback!
Sectionย 1. Chapterย 11
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat