Challenge: Analyze Trends with Window Functions
Завдання
Swipe to start coding
Write SQL queries using window functions to analyze trends in the provided sales and employee performance data.
- Calculate the running total of sales amount by sale date.
- Calculate the 3-day moving average of sales amount by sale date.
- For each employee, calculate their running total of sales amount over time.
- For each employee, calculate a 2-period moving average of their sales achieved from performance reviews.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 5.56
Challenge: Analyze Trends with Window Functions
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Write SQL queries using window functions to analyze trends in the provided sales and employee performance data.
- Calculate the running total of sales amount by sale date.
- Calculate the 3-day moving average of sales amount by sale date.
- For each employee, calculate their running total of sales amount over time.
- For each employee, calculate a 2-period moving average of their sales achieved from performance reviews.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 2
single