qualify_condition - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

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.

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.

For more information about the QUALIFY clause, see Teradata Vantage™ - SQL Data Manipulation Language, B035-1146.