Avsnitt 1. Kapitel 11
single
Challenge: Monthly Order Summary
Svep för att visa menyn
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 11
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal