Re: [GENERAL] Naming columns for SQL output ...

Поиск
Список
Период
Сортировка
От Aaron J. Seigo
Тема Re: [GENERAL] Naming columns for SQL output ...
Дата
Msg-id 99092320130807.00552@stilborne
обсуждение исходный текст
Ответ на Naming columns for SQL output ...  (Jim Richards <grumpy@cyber4.org>)
Ответы Re: [GENERAL] Naming columns for SQL output ...  ("Ross J. Reedstrom" <reedstrm@wallace.ece.rice.edu>)
Список 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 по дате отправления:

Предыдущее
От: Jim Richards
Дата:
Сообщение: Naming columns for SQL output ...
Следующее
От: Sofian Lutfi
Дата:
Сообщение: