Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

insert into one table from multiple select statements and multiple tables - forum topic by Nani27

$
0
0

Hi All, I have a table with fields EFF_DT and ASUM_DT and some other. And I need to insert data into this from multiple tables, using sel statements.
Example: Using below sql I need this value to be EFF_DT
SELECT MIN(C2T_EFF_DT) AS EFF_DT
FROM Table1
WHERE DT > END_DT
Using below sql I need this value to AUM_DT
SELECT MIN(C2T_EFF_DT) AS AUM_DT
FROM Table 2
Thank you,
Nani

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles