AND OR
Mix AND and OR only with parentheses. WHERE (city = 'Pune' OR city = 'Goa') AND marks < 40; fail students from those cities.
Without brackets MySQL does AND first. Your English sentence is not the operator order.
Trap — writing AND/OR chains from spoken language without drawing two groups on paper.
On the example next to this theory — AND OR — wHERE combines predicates with AND/OR; LIKE does pattern match.
Exam tip
(city = 'Pune' OR city = 'Goa') AND marks < 40