Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.4) with SMTP id f77Fca682786 for ; Tue, 7 Aug 2001 11:38:37 -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 f6V81tf60041 for ; Tue, 31 Jul 2001 04:01:55 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f6V7sf886578 for pgsql-sql@postgresql.org; Tue, 31 Jul 2001 03:54:41 -0400 (EDT) (envelope-from news) From: mbenzid@yahoo.de (Mounir Benzid) X-Newsgroups: comp.databases.postgresql.sql Subject: Why can't I ......... Date: 31 Jul 2001 00:54:39 -0700 Organization: http://groups.google.com/ Lines: 18 Message-ID: <209b95b8.0107302354.7ff1147e@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-sql@postgresql.org X-Archive-Number: 200108/98 X-Sequence-Number: 4319 -- do a join between two databases within the same installation. ... where db1.table1.userid = db2.table2.userid -- use labels to name columns in this way ... select col1 userid, col2 name from ... (instead of using AS) -- do an update with full referenced colomns ... update table1 set table1.col1=value ??? Thank you in advance! mo