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
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
vnq1596660420420.ditamap
dita:ditavalPath
hoy1596145193032.ditaval

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.