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

bookChallenge: Aggregate Monthly Sales

Compito

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.

Soluzione

Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 2
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

close

bookChallenge: Aggregate Monthly Sales

Scorri per mostrare il menu

Compito

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 1. Capitolo 2
single

single

some-alt