Re: Can't understand how a query from the documentation works

From: Sergey Samokhin <prikrutil(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Can't understand how a query from the documentation works
Date: 2009-09-09 19:18:41
Message-ID: e42595410909091218l6cf7e929m2dee96eac4ad71d5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello.

On Tue, Sep 8, 2009 at 11:40 PM, Tom Lane<tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> What will happen (at least conceptually) is that for each row
> of fdt, the whole sub-SELECT will be evaluated using that row's value
> of fdt.c1, producing a list of t2.c1 values.  Then, if the fdt row's
> value of c1 appears in that list, the fdt row will be included in the
> result.

Thanks for the detailed explanation - now I see where my mistake was!

--
Sergey Samokhin

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Newperson 2009-09-10 02:43:56 How to install postgresql-8.4.1-1-windows.exe by ZIP archive binaries
Previous Message sylvinhio sly 2009-09-09 17:26:52 Plpgsql restore command