Re: Select into - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: Select into
Date
Msg-id 20011205201736.Y20601-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Select into  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-sql
On Thu, 6 Dec 2001, Christopher Kings-Lynne wrote:

> Hi All,
>
> Is it possible to insert into a table based on a select from another table?
>
> The docs for SELECT INTO and like seem to imply you can only create a table
> based on a select, not append to an existing table.
>
> How do you do this?

I think you can use
INSERT INTO <table>(<cols>) SELECT ...




pgsql-sql by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Select into
Next
From: "Esger Abbink"
Date:
Subject: Re: need some help understanding sloq query