title: Mysql identical queries
body: <p>I have a SELECT query where you search by car owners.
  Every owner can have more than one car.
  There is <strong>random</strong> generated list of cars of which we have to find owners.</p>
  
  <pre><code>...
  
  $owners[] = $dbaseowners["ownerid"] // owner ID's fetched from database
  
  $owners = implode (',',$owners);
  
  SELECT carname FROM cars WHERE ownerid IN ($owners);
  </code></pre>
  
  <p>My problem is when one owner is used more than once for example: IN (1,1,4,1) - mysql only fetch one 'copy' of this owner's data.</p>
  
  <p>Since i have a randomly generated car list, I have to have owner row for every car no matter if owner is the same. </p>
  
  <p>Any ideas?</p>