|
|
Archives of the TeradataForum
Message Posted: Thu, 06 Mar 2008 @ 15:28:54 GMT
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;
| |