pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Myrta <jasiek@klaster.net>
To: Rado Petrik <r.p@szm.sk>
Cc: pgsql-sql@postgresql.org
Subject: Re: CREATE table1 FROM table2
Date: Tue, 17 Jun 2003 17:35:54 +0200
Message-ID: <3EEF355A.9000503@klaster.net> (raw)
In-Reply-To: <1055863245.624.1.camel@caj>
References: <1055863245.624.1.camel@caj>

Dnia 2003-06-17 17:20, Użytkownik Rado Petrik napisał:
> Hi, 
> 
> How I create table1 from other table2 . 
> 
> "cp table1 table2" 
create table2 as select * from table1;
It is described in Postgresql documentation SQL Commands -> "create table as"

Regards,
Tomasz Myrta




view thread (8+ messages)  latest in thread

Message-ID: <3EEF355A.9000503@klaster.net>
Permalink:  ../3EEF355A.9000503@klaster.net/
Also on:    postgresql.org/message-id/3EEF355A.9000503@klaster.net

 · 

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: jasiek@klaster.net, r.p@szm.sk
  Subject: Re: CREATE table1 FROM table2
  In-Reply-To: <3EEF355A.9000503@klaster.net>

* 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