Challenge: Filter Top Sales
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 6
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Geweldig!
Completion tarief verbeterd naar 5.56
Challenge: Filter Top Sales
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 6
single