Challenge: Detect Spending Spikes
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 7
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
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?
Incrível!
Completion taxa melhorada para 4.55
Challenge: Detect Spending Spikes
Deslize para mostrar o menu
Tarefa
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.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 3. Capítulo 7
single