select, columns, and aliases

Поиск
Список
Период
Сортировка
От CSN
Тема select, columns, and aliases
Дата
Msg-id 20040723094801.99656.qmail@web52905.mail.yahoo.com
обсуждение исходный текст
Ответы Re: select, columns, and aliases  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
Is it possible to automatically prefix a table alias
(or table name or something else even) to each column
in a select list? For example:

select a.*, b.*
from tablea a
inner tableb b
on a.id=b.aid;

results:

a_id, a_name, b_id, b_name, b_aid


CSN




__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/

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

Предыдущее
От: Shridhar Daithankar
Дата:
Сообщение: Re: dumping the schema
Следующее
От: eClaire
Дата:
Сообщение: phppgadmin and external access