17.05 - Operations That Support Set Operators - 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)

You can use set operators within the following operations:

  • Simple queries
  • Derived tables
    You cannot use the HASH BY or LOCAL ORDER BY clauses in derived tables with set operators.
  • Subqueries
  • INSERT … SELECT clauses
  • View definitions

SELECT statements connected by set operators can include all of the normal clause options for SELECT except the WITH clause.