Challenge: High-Volume Customers
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 3
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Fantastico!
Completion tasso migliorato a 5.56
Challenge: High-Volume Customers
Scorri per mostrare il menu
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 3
single