Re: Idea as to why this query won't work as expected?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave Smith [mailto:DavidSmith@byu.net] wrote:
> 
> I can never remember whether SQL is left-to-right, right-to-left, or 
> some other deviant. Using parens is a sure way to guarantee that your 
> statements are processed in the order you desire.
> 
> --Dave
> 
It's easy if you remember: AND is equal to multiplication, OR is equal to
addition. Multiplications are done before additions, so ANDs are done before
ORs.

Thomas

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux