Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Fri, 07 Jun 2002 @ 12:40:49 GMT





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




Subj:   Derived table
 
From:   René Pereira



Hello,

I want to link to a table to add some fields to my selection. However, this will blow up my selection so i have to do something like distinct in a derived table....

SEL A.id,
    B.description
FROM table1 A INNER JOIN
(SELECT distinct B.id,
                 B.description
FROM table2 B) as ??? ON (a.id = b.id)

As you can see i don't know what the correct syntax is. Can anyone help me out?


Thanks in advance

René





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008