Re: [SQL] can a column be aliased?

Поиск
Список
Период
Сортировка
От Roderick A. Anderson
Тема Re: [SQL] can a column be aliased?
Дата
Msg-id Pine.LNX.3.95.980803115341.26293A-100000@altoplanos.net
обсуждение исходный текст
Ответ на Re: [SQL] can a column be aliased?  (darcy@druid.net (D'Arcy J.M. Cain))
Ответы Re: [SQL] can a column be aliased?  (darcy@druid.net (D'Arcy J.M. Cain))
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Daniele Orlandi
Дата:
Сообщение: Re: [SQL] Low level socket locking...
Следующее
От: John Edstrom
Дата:
Сообщение: Re: [SQL] locked my keys in the car