SELECT Statement and Set Operators - Teradata Vantage - Analytics Database

Database Introduction

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
gtm1628096154303.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
dsm1472253642401
lifecycle
latest
Product Category
Teradata Vantageā„¢

The SELECT statement can use the set operators UNION, INTERSECT, and MINUS/EXCEPT. These set operators enable you to manipulate the answers to two or more queries by combining their results into a single result set.

You can use the set operators with operations like the following:
  • View definitions
  • Derived tables
  • Subqueries