Any body know --- 'sql query where condition execution plan' - Mailing list pgsql-admin

From raja kumar thatte
Subject Any body know --- 'sql query where condition execution plan'
Date
Msg-id 20020122035909.84067.qmail@web20609.mail.yahoo.com
Whole thread Raw
In response to Re: Performance  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Any body know --- 'sql query where condition execution plan'  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin

 Hai every body,

I want to know how the--where condition--is executed in a sql query.

e.g., select aa,bb,cc from ttt where aa=100 and bb = 200 and cc =300.

my doubt is , will psql leave the record as on when it fails to satisfy a record having aa !=100 

or will it chect for bb = 200 and cc = 300 also.

ie will it work like C-language if condition or not.

If i give paranthesis, will it change the execution plan accordingly.

Thanks in advance.

c u

raja



Do You Yahoo!?
Send FREE video emails in Yahoo! Mail.

pgsql-admin by date:

Previous
From: Ferdinand Smit
Date:
Subject: Re: Character problems
Next
From: Tom Lane
Date:
Subject: Re: Any body know --- 'sql query where condition execution plan'