pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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",
>        ...



view thread (6+ messages)  latest in thread

Message-ID: <174550350508110248d4fc071@mail.gmail.com>
Permalink:  ../174550350508110248d4fc071@mail.gmail.com/
Also on:    postgresql.org/message-id/174550350508110248d4fc071@mail.gmail.com

 · 

reply

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