Introduction
The Final Quiz
8. Question 5
You’ve Completed the Windows Function Course!

Instruction

That's the right answer! Question 5 awaits.

Exercise

For each treatment, show the following information: TreatmentDate, DoctorId, Category, Name, Score and the average score of treatments that are in the same category and are included in the following window frame: two previous rows, the current row, and the three following rows, in terms of the treatment date. Name the column AvgScore.