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.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
vjt1596846980081.ditamap
dita:ditavalPath
vjt1596846980081.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.