Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
LEAD() and LAG()
FIRST_VALUE(), LAST_VALUE()
16. FIRST_VALUE(x) – exercise
Summary

Instruction

Let's do one more exercise!

Exercise

Show the statistics for WebsiteId = 3. For each row, show the Day, the Revenue and the Revenue on the website's first day (FirstDayRevenue).

Stuck? Here's a hint!

Use FIRST_VALUE(Revenue) and sort by the Day.