Lesson 10.4 · Pro

FIRST_VALUE and LAST_VALUE

Put a group's first or last value on every row, and avoid the LAST_VALUE trap.

In this lesson

  1. FIRST_VALUE
  2. The LAST_VALUE trap
  3. Compare each row with the first one