title: Accumulating count calculation in SQL Server
body: <p>Say if I have a table with 2 column - ID, money.
  I want to do a query to find out how many ID have money less than 100, 200, 300, ..., 10000
  How should I do this in SQL Server? Will I need to use variables?</p>