title: SQL Logic Operator Precedence: And and Or
body: <p>Are the two statements below equivalent?</p>
  
  <pre><code>SELECT [...]
  FROM [...]
  WHERE some_col in (1,2,3,4,5) AND some_other_expr
  </code></pre>
  
  <p>and</p>
  
  <pre><code>SELECT [...]
  FROM [...]
  WHERE some_col in (1,2,3) or some_col in (4,5) AND some_other_expr
  </code></pre>
  
  <p>Is there some sort of truth table I could use to verify this?</p>