MINUS/EXCEPT Syntax | SQL Statements | Teradata Vantage - 17.05 - MINUS/EXCEPT Operator Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1146-175K
Language
English (United States)
query_expression_1 { MINUS | EXCEPT } [ ALL ] query_expression_2

Syntax Elements

query_expression_1
A complete SELECT statement whose results table is to be MINUSed with query_expression_2.
ALL
Allows duplicate rows to be returned.
query_expression_2
A complete SELECT statement to be MINUSed from query_expression_1.