OR
OR means at least one condition true. WHERE city = 'Pune' OR city = 'Goa'; Same idea as city IN ('Pune','Goa') — IN is cleaner for a list.
AND is evaluated before OR if you skip brackets. WHERE city = 'Pune' OR city = 'Goa' AND marks < 40 is not ‘(Pune or Goa) and fail’. Write brackets every time.
Trap — OR with a NULL-safe thought missing. Trap: huge OR lists instead of IN or a lookup table.
On the example next to this theory — OR — wHERE combines predicates with AND/OR; LIKE does pattern match.
Exam tip
WHERE city IN ('Pune','Goa'); or OR with brackets.