Re: Simple SQL

From: Terry Yapt <pgsql(at)technovell(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Simple SQL
Date: 2003-10-21 18:59:19
Message-ID: he0bpvgvo7k24opbgt8m93kibcitgiljfg@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>Is it possible to do something like:
>
> select 1 as a, a*a;
>
>in postgres?

Perhaps on this way:

SELECT a, a*a FROM
(SELECT 1 AS a);

Greetings....

In response to

  • Simple SQL at 2003-10-21 18:26:16 from Bob Messenger

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2003-10-21 19:02:04 Re: [SQL] Alias-Error
Previous Message Christopher Browne 2003-10-21 18:46:03 Re: Recomended FS