From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: Jason <jzhu@dental.temple.edu>
To: pgsql-sql@postgresql.org
Subject: Re: Insert values from one existing table into a new table.
Date: Thu, 15 Nov 2001 07:48:43 -0800 (PST)
Message-ID: <20011115154843.61029.qmail@web20807.mail.yahoo.com> (raw)
In-Reply-To: <9srij6$gre$1@cronkite.temple.edu>
Lose the quotes, add a semicolon, and you already have
the correct syntax :-)
--- Jason <jzhu@dental.temple.edu> wrote:
> I want to insert the existing values of one table
> into a new table. It
> needs the combination of these to sql commands:
>
> " insert into new_table values (
> values_of_AtrributeA,
> values_of_AttributesB) "
> " select AttributeA, AttributeB from some_table "
>
> Thanks for your suggestions! -- Jason
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jeff_eckermann@yahoo.com, jzhu@dental.temple.edu
Subject: Re: Insert values from one existing table into a new table.
In-Reply-To: <20011115154843.61029.qmail@web20807.mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox