Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer 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

Taak

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.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 2
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

Suggested prompts:

Can you explain this in simpler terms?

What are the main takeaways from this?

Can you give me an example?

close

bookChallenge: Analyze Trends with Window Functions

Veeg om het menu te tonen

Taak

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.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 3. Hoofdstuk 2
single

single

some-alt