Challenge: Aggregate Monthly Sales
Завдання
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
transactionstable. - Group the results by month using the
transaction_datecolumn. - Only include rows where
categoryis'Sales'. - Calculate the total sales amount for each month.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 4.55
Challenge: Aggregate Monthly Sales
Свайпніть щоб показати меню
Завдання
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
transactionstable. - Group the results by month using the
transaction_datecolumn. - Only include rows where
categoryis'Sales'. - Calculate the total sales amount for each month.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 2
single