Sectie 1. Hoofdstuk 3
single
Challenge: Department Sales Aggregation
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 3
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.