title: group by price range
body: <p>Say I have a table of real estate properties:</p>
  
  <pre><code>A  15,000
  B  50,000
  C 100,000
  D  25,000
  </code></pre>
  
  <p>I'd like to group them by 0 - 49,999, 50,000 - 99,999 and 100,000 - 200,000</p>
  
  <p>So the result should be:</p>
  
  <pre><code>   0 -  49k (2)
   50k -  99k (1)
  100k - 200k (1)
  </code></pre>
  
  <p>Is there a way to do that in one SQL statement? I'm using Postgres by the way.</p>