View previous topic :: View next topic |
Author |
Message |
jctgf Beginner
Joined: 05 Nov 2006 Posts: 89 Topics: 36
|
Posted: Mon Aug 20, 2007 5:43 pm Post subject: is this a possible select? |
|
|
Code: |
select a.col,
(select x.col from table2 x where ...)
from table1 a
where ...
|
my second retrieved column is generated by another select.
thanks,
jc |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Tue Aug 21, 2007 6:53 am Post subject: |
|
|
jctgf,
Yes it is possible , but you need to explain a little bit more about how you want to select the second column.
Show us an example of the data and we will suggest something
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
|
|