pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Boes <jeff@endpoint.com>
To: pgsql-sql@postgresql.org
Subject: Re: How to alias table columns in result?
Date: Thu, 11 Aug 2005 08:22:38 -0400
Message-ID: <42FB430E.3050703@endpoint.com> (raw)
In-Reply-To: <17455035050811051779b89949@mail.gmail.com>
References: <174550350508110248d4fc071@mail.gmail.com>
	<20050811095451.B475F252AE9@smtp.nildram.co.uk>
	<17455035050811051779b89949@mail.gmail.com>

nori wrote:
> Ok I got it. There is no way to alias all columns of some table with
> some "prefix" that will be visible in result except to alias each
> column.

Only other way would be to write a view for each table, then write all
your queries against the views.



view thread (6+ messages)

Message-ID: <42FB430E.3050703@endpoint.com>
Permalink:  ../42FB430E.3050703@endpoint.com/
Also on:    postgresql.org/message-id/42FB430E.3050703@endpoint.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: jeff@endpoint.com
  Subject: Re: How to alias table columns in result?
  In-Reply-To: <42FB430E.3050703@endpoint.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