Given the query \'SELECT foo FROM bar WHERE a = x AND b = y OR c = z\', how does it parse this query?
\'SELECT foo FROM bar WHERE a = x AND b = y OR c = z\'
(a = x AND b = y) OR c = z?
(a = x AND b = y) OR c = z
http://dev.mysql.com/doc/refman/5.0/en/operator-precedence.html