Challenge: Detect Spending Spikes
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 7
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
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?
Чудово!
Completion показник покращився до 4.55
Challenge: Detect Spending Spikes
Свайпніть щоб показати меню
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 7
single