Re: Add one column to another - Mailing list pgsql-sql

From Tony Capobianco
Subject Re: Add one column to another
Date
Msg-id 1314282621.1994.1.camel@tony1.localdomain
Whole thread Raw
In response to Add one column to another  (gvim <gvimrc@gmail.com>)
List 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 by date:

Previous
From: gvim
Date:
Subject: Add one column to another
Next
From: "Oliveiros d'Azevedo Cristina"
Date:
Subject: Re: Add one column to another