Re: getting rid of "Adding missing FROM-clause entry...." - Mailing list pgsql-sql

From Christoph Haller
Subject Re: getting rid of "Adding missing FROM-clause entry...."
Date
Msg-id 3E9EB59F.B01FBF60@rodos.fzk.de
Whole thread Raw
In response to getting rid of "Adding missing FROM-clause entry...."  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Responses Re: getting rid of "Adding missing FROM-clause entry...."  (Rajesh Kumar Mallah <mallah@trade-india.com>)
List pgsql-sql
> > 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



pgsql-sql by date:

Previous
From: Rajesh Kumar Mallah
Date:
Subject: Re: planner question..
Next
From: Stephan Szabo
Date:
Subject: Re: planner question..