Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 06 Mar 2008 @ 15:28:54 GMT

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

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

<-- Anonymously Posted: Thu, 6 Mar 2008 09:18 -->

No. Teradata currently has extremely limited support for scalar subquery, certainly not a correlated subquery within another SELECT expression list. Semantically your query is just an OUTER JOIN (though I suspect you might really want an INNER JOIN).

     Select E.Id, E.Name, E.Address, D.Name
     from Employee E LEFT OUTER 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: 28 Jun 2020