From: Bruno Wolff III <bruno@wolff.to>
To: Axel Schlueter <axel@pqrs.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Default column titles in a select...
Date: Wed, 19 Feb 2003 09:22:57 -0600
Message-ID: <20030219152257.GA17434@wolff.to> (raw)
In-Reply-To: <3E5393E5.6050901@pqrs.de>
References: <3E5393E5.6050901@pqrs.de>
On Wed, Feb 19, 2003 at 15:25:41 +0100,
Axel Schlueter <axel@pqrs.de> wrote:
>
> When doing the following select statement:
> select * from a,b where a.objid=b.objid
> postgresql returns four columns labeled
> objid atext objid atext
> instead of what I expected:
> a.objid a.atext b.objid b.atext
Use something like:
select a.objid as "a.objib", a.atext as "a.atext", b.objid as "b.objid",
b.atext as "b.atext" from a,b where a.objid=b.objid;
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: bruno@wolff.to, axel@pqrs.de
Subject: Re: Default column titles in a select...
In-Reply-To: <20030219152257.GA17434@wolff.to>
* 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