RESPECT NULLS modifier can be used to override this behaviour.
Syntax
any.
Using the optional modifier
RESPECT NULLS after first_value(column_name) will ensure that NULL arguments are not skipped.
See NULL processing for more information.Alias: firstValueRespectNulls- The first value evaluated within its ordered frame.
first_value function is used to find the highest paid footballer from a fictional dataset of salaries of Premier League football players.
Query
Query
Response