Challenge: Monthly Order Summary
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 5
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Fantastisk!
Completion rate forbedret til 2.86
Challenge: Monthly Order Summary
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 5
single