Challenge: High-Volume Customers
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 3
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Suggested prompts:
Can you explain this in simpler terms?
Can you give me an example?
What are the next steps I should take?
Incrível!
Completion taxa melhorada para 5.56
Challenge: High-Volume Customers
Deslize para mostrar o menu
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 3
single