At the first line of command's syntax the closing bracket ']' is omitted. So, instead of
FIRST_VALUE ( [scalar_expression )
should be
FIRST_VALUE ( [scalar_expression ] )
↧