Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Analyze Trends with Window Functions | Window Functions for Trends and Rankings
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL for Business Intelligence Analysts

bookChallenge: Analyze Trends with Window Functions

Tarefa

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.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 2
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

bookChallenge: Analyze Trends with Window Functions

Deslize para mostrar o menu

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 2
single

single

some-alt