Challenge: Filter Top Sales
Завдання
Swipe to start coding
Write an SQL query to find all product categories where the total sales amount is greater than 150.
- Group the sales data by product category.
- Calculate the total sales amount for each category.
- Use the HAVING clause to return only those categories where the total sales amount exceeds 150.
- Your result should include the product category and the total sales amount for each qualifying category.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 6
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 5.56
Challenge: Filter Top Sales
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Write an SQL query to find all product categories where the total sales amount is greater than 150.
- Group the sales data by product category.
- Calculate the total sales amount for each category.
- Use the HAVING clause to return only those categories where the total sales amount exceeds 150.
- Your result should include the product category and the total sales amount for each qualifying category.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 6
single