Challenge: Analyze Trends with Window Functions
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 2
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 5.56
Challenge: Analyze Trends with Window Functions
Swipe um das Menü anzuzeigen
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 3. Kapitel 2
single