title: COUNT(Col1) by partitioning Col2 values in equidistant intervals
body: <p>MySQL</p>
  
  <p>I have two columns. Col1 contains a list of IDs, Col2 contains a list of numbers (ranging between -100 and 200+). I want the COUNT(IDs) WHERE Col2 BETWEEN -100 AND -75, going all the way to the upper limit in intervals of 25.</p>
  
  <p>What is the most efficient way of doing this using MySQL (or Excel). Thanks.</p>