Hi,

Hi Stuart,

Getting your brains warped by logical statements, eh?

If I remember correctly AND has precedence over OR. That means that the statement "A or B and C " evaluates to "A or (B and C) " which means that the statement will be true if A is true or if both B and C are true.


When in doubt, just think about the notation used in boolean algebra:
A or B and C => A+B*C
This looks more "familiar", and the precedence used is the same.

- Cs.

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to