Re: [GENERAL] Naming columns for SQL output ... - Mailing list pgsql-general

From Aaron J. Seigo
Subject Re: [GENERAL] Naming columns for SQL output ...
Date
Msg-id 99092320130807.00552@stilborne
Whole thread Raw
In response to Naming columns for SQL output ...  (Jim Richards <grumpy@cyber4.org>)
Responses Re: [GENERAL] Naming columns for SQL output ...
List pgsql-general
hi..

> How do I name a column in an SQL query. In Oracle I would use
>
>     select now() 'the time now';
>
> how is this done in PostgreSQL?
>
if i understand your question:

select now() as 'the time now';

--
Aaron J. Seigo
Sys Admin

pgsql-general by date:

Previous
From: Jim Richards
Date:
Subject: Naming columns for SQL output ...
Next
From: Sofian Lutfi
Date:
Subject: