Challenge: Monthly Order Summary
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Β 2. ChapterΒ 5
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 2.86
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Β 2. ChapterΒ 5
single