From: Bruce Lowery <bruce.lowery@edventions.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: uncorrelated subqueries
Date: Fri, 09 Jul 1999 02:08:18 -0500
Message-ID: <37859FE1.D1D95558@edventions.com> (raw)
Hello,
In v6.4.2 do uncorrelated subqueries get run on each iteration of the
outer loop? For instance,
SELECT a
FROM table1
WHERE table1.b=XX
AND table1.c IN ( SELECT d FROM table2 WHERE table2.e=YY )
;
Does the subquery get run for each row from table 1 where table1.b = XX
is true?
Bruce Lowery
edventions.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: bruce.lowery@edventions.com
Subject: Re: uncorrelated subqueries
In-Reply-To: <37859FE1.D1D95558@edventions.com>
References: <37859FE1.D1D95558@edventions.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox