First_VALUE and LAST_VALUE are not from the same sets of data. First_VALUE is from a partition, and LAST_VALUE is from a sorted set of a partition.
↧