Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 12 Dec 2007 @ 10:21:38 GMT


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


Subj:   A question on Left Join
 
From:   Anomy Anom

<-- Anonymously Posted: Wed, 12 Dec 2007 11:15 -->

Hi Folks,

I know this is pretty basic but I dont know where Im failing to understand.

I have a table A that has 45 rows for a particular value. i.e, if I wrote

sel * from A where Col1='FMS' it feches me 45 rows.

My query is like below

     Sel  A.col1,A.col5, B.col3,B.col4
     FROM A
     LEFT OUTER JOIN B
     ON A.col2=B.col2
     WHERE A.col1='FMS'

I get back zero rows. Am I missing something? Irrespective of how the plan is formed, should it not return 45 rows atleast? Request you to please opine.


Thanks



     
  <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: 27 Dec 2016