Subject | Re: update from 2 tables |
---|---|
Author | Adam |
Post date | 2006-06-23T05:52Z |
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@...>
wrote:
Adam
wrote:
>That is a lot easier (and standard compliant). Ignore my suggestion.
> > --- In firebird-support@yahoogroups.com, "cbll_lam" <cbll_lam@>
> > wrote:
> > >
> > > Thank you for pointing out my mistake. I must mixing it up with
> > > something else.
> > >
> > > It begs another question: how to do it in FB?
> > >
> > > Any suggestion will be appreciated.
> > >
> > > regards,
> > > bill
> > >
>
> what about
> update a set a.p=(select b.q from b where b.y=a.x);
> Alan
>
Adam