Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 06 Mar 2008 @ 16:51:47 GMT


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


Subj:   Re: Teradata Query with Subselect
 
From:   Anomy Anom

<-- Anonymously Posted: Thu, 6 Mar 2008 11:40 -->

I have never written SQL with a select nested in the select statement...

I would do the following...

     Select E.Id
            ,E.Name
            ,E.Address
            ,D.Name
     from Employee E
     inner join Dept D
       on E.DId=D.Id;


     
  <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