Challenge: High-Volume Customers
Taak
Swipe to start coding
Write a query to list the customer_id and the total quantity purchased for each customer, but only include those customers whose total quantity purchased is greater than 5.
- Select the
customer_idand the sum ofquantityastotal_quantityfrom thesalestable. - Group the results by
customer_id. - Only include customers whose total quantity purchased is greater than 5.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 3
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?
Can you give me an example?
What are the next steps I should take?
Geweldig!
Completion tarief verbeterd naar 5.56
Challenge: High-Volume Customers
Veeg om het menu te tonen
Taak
Swipe to start coding
Write a query to list the customer_id and the total quantity purchased for each customer, but only include those customers whose total quantity purchased is greater than 5.
- Select the
customer_idand the sum ofquantityastotal_quantityfrom thesalestable. - Group the results by
customer_id. - Only include customers whose total quantity purchased is greater than 5.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 3
single