qualify_condition - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Publication Date
February 2025
Publication ID
B700-4600-008K
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
ft:sourceId
dita
dita:id
jbe1714339405530

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, 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, see QUALIFY Clause.