Challenge: High-Value Transaction Count
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 3
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 4.17
Challenge: High-Value Transaction Count
Stryg for at vise menuen
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 3
single