Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Aggregate Monthly Sales | Time-Series Aggregation
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Finance and Accounting

bookChallenge: Aggregate Monthly Sales

Tarefa

Swipe to start coding

Write a SQL query to calculate the total sales amount for each month using the transactions table. The query should group results by month and only include transactions where the category is 'Sales'.

  • Use the transactions table.
  • Group the results by month using the transaction_date column.
  • Only include rows where category is 'Sales'.
  • Calculate the total sales amount for each month.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

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

Suggested prompts:

Can you explain this in simpler terms?

What are the main takeaways from this?

Can you give me an example?

close

bookChallenge: Aggregate Monthly Sales

Deslize para mostrar o menu

Tarefa

Swipe to start coding

Write a SQL query to calculate the total sales amount for each month using the transactions table. The query should group results by month and only include transactions where the category is 'Sales'.

  • Use the transactions table.
  • Group the results by month using the transaction_date column.
  • Only include rows where category is 'Sales'.
  • Calculate the total sales amount for each month.

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 1. Capítulo 2
single

single

some-alt