title: MySQL getting percentage of count
body: <p>My Data would like this</p>
  
  <pre><code>Name    Similar_Percentage      
  A           15
  B           20
  C           65
  </code></pre>
  
  <p>I want like this</p>
  
  <pre><code>Similar_Percentage          count(*)
  Less than 20            2
  Less than 70            1
  </code></pre>
  
  <p>How to write a query for this.
  I know having make this but it show one by one data.</p>