Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f5CHCsE60163 for ; Tue, 12 Jun 2001 13:12:54 -0400 (EDT) (envelope-from pgsql-sql-owner@postgresql.org) Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f58ASjE01786 for ; Fri, 8 Jun 2001 06:28:45 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.1/8.11.1) id f58ACir45872 for pgsql-sql@postgresql.org; Fri, 8 Jun 2001 06:12:44 -0400 (EDT) (envelope-from news) From: "ivan" X-Newsgroups: comp.databases.postgresql.sql Subject: update from another table Date: Fri, 8 Jun 2001 12:03:32 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 18 Message-ID: <9fq8eq$1cpd$1@news.tht.net> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: pgsql-sql@postgresql.org X-Archive-Number: 200106/182 X-Sequence-Number: 3421 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