In the examples, the numbers on the second line indicate the order in which the operators are evaluated.
MAJPROJ = 'MA2100' AND DEPTNO = 'D11' OR DEPTNO = 'B03' OR DEPTNO = 'E11' 1 2 or 3 2 or 3
MAJPROJ = 'MA2100' AND (DEPTNO = 'D11' OR DEPTNO = 'B03') OR DEPTNO = 'E11' 2 1 3
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.