17.05 - Example - 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)

The following query returns duplicate rows for each result set, including the final:

   SELECT statement_1
   UNION ALL 
   SELECT statement_2 
   MINUS ALL 
   SELECT statement_3 
   INTERSECT ALL 
   SELECT statement_4