16.20 - FIRST_VALUE / LAST_VALUE - Teradata Database

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

prodname
Advanced SQL Engine
Teradata Database
vrm_release
16.20
created_date
March 2019
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