![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 03 Aug 2004 @ 12:52:00 GMT
try something like this :
sel a.date, a.col1, a.col2, b.col3, b.col4
from
(sel date, col1, col2
from table1) as a(date,col1,col2),
(sel date, col3, col4
from table2) as b(date,col3,col4)
where a.date = b.date
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||