title: Searching by tag, inclusive
body: <p>I have a many to many relationship between <code>stories</code> and <code>tags</code>, the table created to hold the relationship is <code>taxonomies</code>. I want to search all the stories that have all the given tags.</p>
  
  <p>The query I'm using so far is this one, of course it doesn't work for me, it returns all stories that contain <strong>any</strong> of the given tags, I want to show stories that contain <strong>all</strong> the defined tags.</p>
  
  <pre><code> SELECT stories.* FROM `stories` 
   JOIN `taxonomies` ON `stories`.id = `taxonomies`.`story_id`
   JOIN `tags` ON `tags`.id = `taxonomies`.tag_id
   WHERE `tags`.name = 'tag 1' OR `tags`.name = 'tag 2' /* ... */
   GROUP BY stories.id
  </code></pre>