pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ivan <IVANCCC@terra.es>
To: pgsql-sql@postgresql.org
Subject: update from another table
Date: Fri, 8 Jun 2001 12:03:32 +0200
Message-ID: <9fq8eq$1cpd$1@news.tht.net> (raw)

dear sir,

i would like to know how can i update a table with columns from another
table and adding a new column with a secuence,

i have try

update table
set column = (select column from table2), ......, set column=secuence..

is it right?????

thanks

ivan






view thread (3+ messages)  latest in thread

Message-ID: <9fq8eq$1cpd$1@news.tht.net>
Permalink:  ../9fq8eq$1cpd$1@news.tht.net/
Also on:    postgresql.org/message-id/9fq8eq$1cpd$1@news.tht.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: IVANCCC@terra.es
  Subject: Re: update from another table
  In-Reply-To: <9fq8eq$1cpd$1@news.tht.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