Re: Add one column to another

Поиск
Список
Период
Сортировка
От Tony Capobianco
Тема Re: Add one column to another
Дата
Msg-id 1314282621.1994.1.camel@tony1.localdomain
обсуждение исходный текст
Ответ на Add one column to another  (gvim <gvimrc@gmail.com>)
Список pgsql-sql
Use the concat || operator.


On Thu, 2011-08-25 at 15:21 +0100, gvim wrote:
> I have to deal with a table which contains:
> 
> first_name
> surname
> email1
> email2
> 
> ... and I would like to create a view which combines both email columns thus:
> 
> first_name
> surname
> email
> 
> It looks simple but I can't think of an obvious query.
> 
> gvim
> 




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

Предыдущее
От: gvim
Дата:
Сообщение: Add one column to another
Следующее
От: "Oliveiros d'Azevedo Cristina"
Дата:
Сообщение: Re: Add one column to another