Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Analyze Trends with Window Functions | Window Functions for Trends and Rankings
SQL for Business Intelligence Analysts

bookChallenge: 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

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: 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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 3. Розділ 2
single

single

some-alt