Re: Select statement - Mailing list pgsql-general

From missive@frontiernet.net (Lee Harr)
Subject Re: Select statement
Date
Msg-id 9ec4pi$1lhe$1@node21.cwnet.roc.gblx.net
Whole thread Raw
In response to Select statement  (dave go <godave621@yahoo.com>)
Responses Re: Re: Select statement  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
List pgsql-general
On Mon, 21 May 2001 19:26:04 +0000 (UTC), dave go <godave621@yahoo.com> wrote:
> Hi,
>
> I am trying create a new table A from table B. On B
> (b1, b2, b3, b4 ) I would like create a table A (a1,
> a2, a3) where a2 is b2 and b3.
>
> example:
> A)
>
> Id, lastname, Firstname, MInit
> ------------------------------
>
> B)
>
> Id, Name, MInit
> ---------------
>


SELECT Id, Firstname||' '||lastname as Name, MInit into B from A;


pgsql-general by date:

Previous
From: armelle clech
Date:
Subject: psql.exe execution error
Next
From: Lee Johnson
Date:
Subject: can't start as root