pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jason <jzhu@dental.temple.edu>
To: pgsql-sql@postgresql.org
Subject: Insert values from one existing table into a new table.
Date: Tue, 13 Nov 2001 11:43:12 -0500
Message-ID: <9srij6$gre$1@cronkite.temple.edu> (raw)

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






view thread (4+ messages)  latest in thread

Message-ID: <9srij6$gre$1@cronkite.temple.edu>
Permalink:  ../9srij6$gre$1@cronkite.temple.edu/
Also on:    postgresql.org/message-id/9srij6$gre$1@cronkite.temple.edu

 · 

reply

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: jzhu@dental.temple.edu
  Subject: Re: Insert values from one existing table into a new table.
  In-Reply-To: <9srij6$gre$1@cronkite.temple.edu>

* 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