Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
PARTITION BY
10. OVER(PARTITION BY) – practice 2
Summary

Instruction

Another correct answer! Let's try the next exercise.

Exercise

For each ticket, show its Id, Price, the journey Date, the average price of tickets sold on that day (AvgPrice) and the number of tickets sold on that day (TicketsNumber). Exclude journeys where TrainId = 5.