Re: getting rid of "Adding missing FROM-clause entry...."

From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
To: pgsql-sql(at)postgresql(dot)org, mallah(at)trade-india(dot)com
Subject: Re: getting rid of "Adding missing FROM-clause entry...."
Date: 2003-04-17 14:09:36
Message-ID: 3E9EB59F.B01FBF60@rodos.fzk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2003-04-17 14:12:37 Re: planner question..
Previous Message Rajesh Kumar Mallah 2003-04-17 13:57:08 Re: planner question..