![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 06 Mar 2008 @ 16:51:47 GMT
<-- 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;
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||