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

bookChallenge: 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_date column.
  • 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?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 5
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

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

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 2. Kapitel 5
single

single

some-alt