question on JOIN and WHERE clause
question on JOIN and WHERE clause
От:
Wei Weng <wweng@kencast.com>
Дата:
Does the SQL optimizer process the JOIN first then add WHERE constraintson it or it processes the WHERE clause and JOIN at the same time? Thanks! -- Wei Weng Network Software Engineer KenCast Inc.
Re: question on JOIN and WHERE clause
От:
"Henshall, Stuart - WCP" <SHenshall@westcountrypublications.co.uk>
Дата:
I believe it pushes any clauses it can into the individual sub-plans, and anything it can't it leaves above the join.
- Stuart> -----Original Message-----
> From: Wei Weng [mailto:wweng@kencast.com]
> Sent: 30 May 2002 18:07
> To: pgsql-sql@postgresql.org
> Subject: question on JOIN and WHERE clause
>
>
> Does the SQL optimizer process the JOIN first then add WHERE
> constraintson it or it processes the WHERE clause and JOIN at the same
> time?
>
> Thanks!
>
>
>
> --
> Wei Weng
> Network Software Engineer
> KenCast Inc.
>
>
>