例3 - Teradata Database - Teradata Vantage NewSQL Engine - 集合演算子、ビュー定義の例。

Teradata Vantage™ SQLデータ操作言語

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
2019年3月
Language
日本語
Last Update
2019-10-29
dita:mapPath
ja-JP/fbo1512081269404.ditamap
dita:ditavalPath
ja-JP/fbo1512081269404.ditaval
dita:id
B035-1146
Product Category
Software
Teradata Vantage
REPLACE VIEW v AS 
   SELECT x1 
   FROM table_1 
   WHERE x1 IN 
    (SELECT x2 
     FROM table_2
     UNION
     SELECT x3 
     FROM table_3
    );
SELECT * FROM v;