Challenge: High-Value Transaction Count
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 3
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 4.17
Challenge: High-Value Transaction Count
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 3
single