|
|
Archives of the TeradataForum
Message Posted: Tue, 21 Oct 2003 @ 17:45:53 GMT
Subj: | | Re: SQL Problem.. Help Needed |
|
From: | | Victor Sokovin |
If select * is fast enough, a progmatic solution could be:
select X.COLN1, X.COLN2, X.COLN3 ...
from (SEL
*
FROM TABLE1 AS A
INNER JOIN
TABLE2 AS B
ON
A.COL1 = B.COL1 AND
A.COL2 = B.COL2 AND
A.COL3 = B.COL3 AND
A.COL4 = B.COL4 AND
A.COL5 = B.COL5 AND
A.COL6 = B.COL6 AND
A.COL7 = B.COL7
INNER JOIN
TABLE3 AS C
ON
B.COL1 = C.COL1 AND
B.COL2 = C.COL2 ) X;
Regards,
Victor
| |