update from another table

From: "ivan" <IVANCCC(at)terra(dot)es>
To: pgsql-sql(at)postgresql(dot)org
Subject: update from another table
Date: 2001-06-08 10:03:32
Message-ID: 9fq8eq$1cpd$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Hilkiah Lavinier 2001-06-08 12:32:22 rpt
Previous Message Luis Sousa 2001-06-08 08:54:41 Hidden Select