Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge: Monthly Order Summary | Date and Time Functions
Functions in SQL

bookChallenge: Monthly Order Summary

Taak

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_date column.
  • Count the total number of orders for each month.
  • Return the year, month, and corresponding order count for each group.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 2. Hoofdstuk 5
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

close

bookChallenge: Monthly Order Summary

Veeg om het menu te tonen

Taak

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_date column.
  • Count the total number of orders for each month.
  • Return the year, month, and corresponding order count for each group.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 2. Hoofdstuk 5
single

single

some-alt