FIRST_VALUE
Takes the value from the first row of the window.
Syntax
FIRST_VALUE(<expression>) OVER (ORDER BY <sort key>)
FIRST_VALUE(<expression>) OVER (PARTITION BY <group> ORDER BY <sort key>)
Adds to every row the value from the first row of its window: the highest salary in the company, the name of the department's leader. The number of rows stays the same, so it's easy to compare side by side: how far each person is from the first. Its mirror function is LAST_VALUE, but that one needs its window frame set up.