X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E1994476353 for ; Thu, 17 Apr 2003 10:09:40 -0400 (EDT) Received: from fzkmail2.fzk.de (fzkmail2.fzk.de [141.52.27.52]) by postgresql.org (Postfix) with SMTP id 39027476390 for ; Thu, 17 Apr 2003 10:09:37 -0400 (EDT) Received: FROM resy5.fzk.de BY fzkmail2.fzk.de ; Thu Apr 17 16:09:36 2003 +0200 Received: œby rodos.fzk.de with ESMTP (8.8.6 (PHNE_17135)/8.7.1) id QAA21058; Thu, 17 Apr 2003 16:09:36 +0200 (METDST) Message-ID: <3E9EB59F.B01FBF60@rodos.fzk.de> Date: Thu, 17 Apr 2003 16:09:36 +0200 From: Christoph Haller X-Mailer: Mozilla 4.77 [en] (X11; U; HP-UX B.10.20 9000/780) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-sql@postgresql.org, mallah@trade-india.com Subject: Re: getting rid of "Adding missing FROM-clause entry...." Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-9.6 required=5.0 tests=BAYES_10,QUOTED_EMAIL_TEXT,QUOTE_TWICE_1 autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/267 X-Sequence-Number: 12968 > > And why are you using "limit 1 offset 0"? > > becuase the subquery results in mutiple rowss. > I want the first row to update title1,fname1,mname1,lname1,degs1 > > and use the second row by using "limit 1 offset 1" to > update title2,fname2,mname2,lname2,degs2 etc > > do u still want me to try the query u gave? > (actually i did try and its giving some trivial error) > No. Looks like a misunderstanding. Do I get it right this time assuming you want to set up multiple update commands which update only one row at a time? Regards, Christoph