Re: self-join on subselect

From: PFC <lists(at)boutiquenumerique(dot)com>
To: "Bruno Wolff III" <bruno(at)wolff(dot)to>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: self-join on subselect
Date: 2005-01-27 09:49:12
Message-ID: opsk89ka1gth1vuj@musicbox
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Thanks, I was hoping there was some way to avoid it.

> You have to write the subselect twice if you want to match up different
> rows.
> In some cases it might be worth making a copy in a temp table. For simple
> subselects where there is an index on id, leaving it as is should work
> fine.
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Miguel Angel Tribaldos Hervas 2005-01-27 11:18:16 last tuple affected
Previous Message Pailloncy Jean-Gerard 2005-01-27 09:48:40 Re: Extended unit