Секція 1. Розділ 3
single
Challenge: Department Sales Aggregation
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Create a CTE to aggregate total sales for each department and select departments with total sales above $10,000.
- Use a CTE to calculate the sum of sales amounts for each department.
- Join the relevant tables to relate departments, employees, and sales.
- Select only those departments whose total sales exceed $10,000.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 3
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат