update from another table - Mailing list pgsql-sql

From ivan
Subject update from another table
Date
Msg-id 9fq8eq$1cpd$1@news.tht.net
Whole thread Raw
Responses Re: update from another table
List 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





pgsql-sql by date:

Previous
From: Tubagus Nizomi
Date:
Subject: Help datetime
Next
From: Tom Ivar Helbekkmo
Date:
Subject: Re: [HACKERS] Re: behavior of ' = NULL' vs. MySQL vs. Standards