16.20 - FIRST_VALUE / LAST_VALUE - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ SQL Functions, Expressions, and Predicates

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

Purpose

Returns the first value or last value in an ordered set of values.

Type

ANSI SQL:2011 window function.

Syntax