title: MySQL - Where Or?
body: <p>I have a MySQL statement where I'm trying to exclude statements depending on where they "belong to" The query goes through, but it still shows the rows that I specifically said where its not equal to?</p>
  
  <pre><code>SELECT id, belongsto, title, madeby, sticky, locked, lastpost, posts
  FROM threads
  WHERE sticky !=1
  AND belongsto !=12 OR sticky !=1 AND belongsto !=13
  ORDER BY  `threads`.`date` DESC 
  LIMIT 20
  </code></pre>