Challenge: Detect Spending Spikes
Tâche
Swipe to start coding
Write a query to flag transactions where the amount is at least double the customer's average transaction amount over the previous 12 months.
- For each record in the
performancetable, treat thescoreas the transaction amount. - Calculate the average transaction amount for each employee over the previous 12 months, not including the current transaction.
- Flag the transaction if its amount is at least double this average.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 7
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
Suggested prompts:
Can you explain that in simpler terms?
What are some examples related to this topic?
How does this information apply to real-world situations?
Génial!
Completion taux amélioré à 4.55
Challenge: Detect Spending Spikes
Glissez pour afficher le menu
Tâche
Swipe to start coding
Write a query to flag transactions where the amount is at least double the customer's average transaction amount over the previous 12 months.
- For each record in the
performancetable, treat thescoreas the transaction amount. - Calculate the average transaction amount for each employee over the previous 12 months, not including the current transaction.
- Flag the transaction if its amount is at least double this average.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 7
single