From: Roderick A. Anderson <raanders@altoplanos.net>
To: D'Arcy J.M. Cain <darcy@druid.net>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] can a column be aliased?
Date: Mon, 3 Aug 1998 11:56:07 -0700 (PDT)
Message-ID: <Pine.LNX.3.95.980803115341.26293A-100000@altoplanos.net> (raw)
In-Reply-To: <m0z3OEW-00006FC@druid.net>
On Mon, 3 Aug 1998, D'Arcy J.M. Cain wrote:
> Thus spake James Olin Oden
> > I know this is probably a strange question, but can you give a column
> > name an alias? The reason I ask is because I have recently realized I
>
> SELECT table1.oid AS custnum, table2.oid AS salesman FROM ...
>
Hot as flame bait, but is the AS a SQL92 standard? Coming from an Oracle
background I used
select table1.oid custnum,
table2.oid salesman
from ...
TIA,
Rod
--
Roderick A. Anderson
raanders@altoplanos.net Altoplanos Information Systems, Inc.
Voice: 208.765.6149 212 S. 11th Street, Suite 5
FAX: 208.664.5299 Coeur d'Alene, ID 83814
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: raanders@altoplanos.net, darcy@druid.net
Subject: Re: [SQL] can a column be aliased?
In-Reply-To: <Pine.LNX.3.95.980803115341.26293A-100000@altoplanos.net>
References: <m0z3OEW-00006FC@druid.net> <Pine.LNX.3.95.980803115341.26293A-100000@altoplanos.net>
* 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