Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Monthly Order Summary | Date and Time Functions
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Functions in SQL

bookChallenge: Monthly Order Summary

Tarefa

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.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 5
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Monthly Order Summary

Deslize para mostrar o menu

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 5
single

single

some-alt