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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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