Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select from one select 1

Status
Not open for further replies.

Diogo

Technical User
Mar 22, 2001
143
PT
Hello.

Can i make a "select" where the "from" is the result of another select.

In db2 is something like this:
"select * from (select * from table) as temp."

Thanks any way...
DR
 
Diogo,
I'm not sure, but I don't think you can use this syntax(i tried and didn't work), but this type of syntax works in PostgreSql.

Gragi
 
Thanks.

I already was to suspect that.

DR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top