16.20 - IN/NOT IN - Teradata Database

Teradata Vantageā„¢ - SQL Functions, Expressions, and Predicates

prodname
Advanced SQL Engine
Teradata Database
vrm_release
16.20
created_date
March 2019
category
Programming Reference
featnum
B035-1145-162K

Purpose

Tests the existence of the value of an expression or expression list in a comparable set in one of two ways:

  • Compares the value of an expression with values in an explicit list of literals.
  • Compares values in a list of expressions with values and in a set of corresponding expressions in a subquery.

Syntax