Skip site navigation (1) Skip section navigation (2)

Re: Alias name from subquery

From: Felix Homann <fexpop(at)onlinehome(dot)de>
To: rod(at)iol(dot)ie
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Alias name from subquery
Date: 2008-09-30 14:42:05
Message-ID: 48E23ABD.8060006@onlinehome.de (view raw or flat)
Thread:
Lists: pgsql-general
Raymond O'Donnell wrote:
> select entry from (select name from colnames where id = 1) as
> entry_with_different_name;
> 
> ...maybe?

Thanks Ray!

No, "entry_with_different_name" should be the result of "SELECT name 
FROM colnames WITH id=1".


Kind regards,

Felix

In response to

pgsql-general by date

Next:From: Sam MasonDate: 2008-09-30 15:23:55
Subject: Re: Alias name from subquery
Previous:From: Raymond O'DonnellDate: 2008-09-30 14:32:09
Subject: Re: Alias name from subquery

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group