Challenge: High-Value Transaction Count
Tâche
Swipe to start coding
Write a query that, for each customer, counts the number of transactions where the amount is greater than or equal to 1000.
- Use the
transactionstable. - For each
customer_id, count the number of transactions withamountgreater than or equal to 1000. - The result must show one row per
customer_idwith the count of such transactions ashigh_value_transaction_count.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 4. Chapitre 3
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 4.17
Challenge: High-Value Transaction Count
Glissez pour afficher le menu
Tâche
Swipe to start coding
Write a query that, for each customer, counts the number of transactions where the amount is greater than or equal to 1000.
- Use the
transactionstable. - For each
customer_id, count the number of transactions withamountgreater than or equal to 1000. - The result must show one row per
customer_idwith the count of such transactions ashigh_value_transaction_count.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 4. Chapitre 3
single