Table 10-5. Logical Operators
The reason for the two different variations of "and" and "or" operators is that they operate at different precedences. (See Operator Precedence.)