title: Mysql Select only percentage of rows
body: <p>I want to use the second column (art_count) to show only those rows containing X percent of total art_count.</p>
  
  <p>My data:</p>
  
  <pre><code>title   art_count
  a       3
  b       12
  c       9
  d       4
  e       45
  </code></pre>
  
  <p>My query so far:</p>
  
  <pre><code>SELECT title, COUNT(art) AS art_count
  FROM table1
  GROUP BY art HAVING ... ?
  </code></pre>
  
  <p>Tried it with SUM without success.</p>