Re: How to alias table columns in result?

From: nori <kodmasin(at)gmail(dot)com>
To: Mischa Sandberg <mischa(dot)sandberg(at)telus(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to alias table columns in result?
Date: 2005-08-11 09:48:28
Message-ID: 174550350508110248d4fc071@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Thanks

Sorry, my question was missing one important detail. My tables have
quite a lot columns (which unfortunately have same names in both
tables) so is it possible to do same as below but without specifying
alias for each column. Now my queries are long and they do not look
nice.

boris

On 8/11/05, Mischa Sandberg <mischa(dot)sandberg(at)telus(dot)net> wrote:
> SELECT d.name as "d.name",
> d.index as "d.index",
> c.name as "c.name",
> ...

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Nick Stone 2005-08-11 09:56:54 Re: How to alias table columns in result?
Previous Message dario.mx 2005-08-11 00:42:01 Parentheses in FROM clause and evaluation order.