|
|
Archives of the TeradataForum
Message Posted: Fri, 07 Jun 2002 @ 12:40:49 GMT
Subj: | | Derived table |
|
From: | | Anomy.Anom |
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
Anomy
| |