Challenge: Monthly Order Summary
Aufgabe
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ösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 5
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 2.86
Challenge: Monthly Order Summary
Swipe um das Menü anzuzeigen
Aufgabe
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ösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 5
single