Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 18 Jun 2014 @ 20:46:10 GMT


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


Subj:   Re: SQL with product join
 
From:   Stewart, Graham B

Looks like it's missing the join condition that specifies the fields that View1 and View2 join on.

Example:

     FROM
     VIEW1
     JOIN VIEW2 ON VIEW1.ColumnA=VIEW2.ColumnB

Or the join condition could go down in the WHERE clause:

     FROM VIEW1, VIEW2
     WHERE VIEW1.ColumnA=VIEW2.ColumnB

-Graham



     
  <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