Skip site navigation (1) Skip section navigation (2)

Re: insert retrieved data into a new table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: e-letter <inpost(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: insert retrieved data into a new table
Date: 2011-04-24 21:19:10
Message-ID: 17764.1303679950@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
e-letter <inpost(at)gmail(dot)com> writes:
> Is it possible to use the result of a SELECT function to populate a
> new table? The objective is to write the new table for use by gnuplot.

Sure, see INSERT ... SELECT.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Gurjeet SinghDate: 2011-04-24 21:22:42
Subject: Re: insert retrieved data into a new table
Previous:From: Thomas KellererDate: 2011-04-24 21:13:33
Subject: Re: insert retrieved data into a new table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group