16.20 - RANK (ANSI) - 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 an ordered ranking of rows based on the value_expression in the ORDER BY clause.

To use this function with time series data, see Teradata Vantage™ Time Series Tables and Operations, B035-1208.

Type

ANSI SQL:2011 window function.

Syntax