QUALIFY Clause Syntax | SQL SELECT Statements | Teradata Vantage - QUALIFY Clause Syntax - Advanced SQL Engine - Teradata Database

SQL Data Manipulation Language

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

Syntax Elements

search_condition
One or more conditional expressions that must be satisfied by the result rows.
You can specify ordered analytical functions and scalar subqueries as search conditions with QUALIFY.
You can use aggregate operators and DEFAULT functions within a QUALIFY search condition.
The QUALIFY condition cannot reference LOB columns.
If you specify the value for a row-level security constraint in a search condition, that value must be expressed in its encoded form.