Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 21 Oct 2003 @ 17:45:53 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


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



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023