16.20 - QUALIFY - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

An introduction to a conditional ordered analytical function filtering clause in the SELECT statement.

A QUALIFY clause is valid when coded as part of a seed statement.

QUALIFY is never valid when coded as part of a recursive statement.

condition
One or more conditional Boolean expressions that must be satisfied by the results groups.
You can use aggregate operators in a QUALIFY condition.
You cannot specify BLOB, CLOB, UDT, or Period columns in the QUALIFY condition.
You cannot specify a SAMPLE clause within a subquery predicate within a QUALIFY clause.
QUALIFY condition filters rows from a previously computed ordered analytical function.