title: Compare same field with multiple values in MySQL SELECT
body: <p>can you tell me the best practice to create the following query?</p>
  
  <p>Let's say I have a table with 3 fields<code>id, owner_id, data</code>. And I have to do a SELECT query that will return data owned by a lot of people. </p>
  
  <p>I cannot use OR <code>SELECT data FROM posts WHERE owner_id = x OR owner_id = y</code> because I can end up with 200 owner ids when I have to do the query.</p>