Challenge: High-Value Transaction Count
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 3
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Fantastiskt!
Completion betyg förbättrat till 4.17
Challenge: High-Value Transaction Count
Svep för att visa menyn
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 3
single