From: nori <kodmasin@gmail.com>
To: Mischa Sandberg <mischa.sandberg@telus.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to alias table columns in result?
Date: Thu, 11 Aug 2005 11:48:28 +0200
Message-ID: <174550350508110248d4fc071@mail.gmail.com> (raw)
In-Reply-To: <1123715344.42fa89104f121@webmail.telus.net>
References: <1745503505081015455e79f284@mail.gmail.com>
<1123715344.42fa89104f121@webmail.telus.net>
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.sandberg@telus.net> wrote:
> SELECT d.name as "d.name",
> d.index as "d.index",
> c.name as "c.name",
> ...
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: kodmasin@gmail.com, mischa.sandberg@telus.net
Subject: Re: How to alias table columns in result?
In-Reply-To: <174550350508110248d4fc071@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox