title: SQL Query to fetch numbers in given steps between a range
body: <p>I have a set of data like this:</p>
  
  <pre><code>MinNo: 2500
  MaxNo: 2700
  IncrementStep: 10
  </code></pre>
  
  <p>Between the minimum number and the maximum number a list of all possible numbers with the given step are to be listed as shown below:</p>
  
  <pre><code>2500
  2510
  2520
  2530
  2540
  2550
  2560
  2570
  2580
  2590
  2600
  2610
  2620
  2630
  2640
  2650
  2660
  2670
  2680
  2690
  2700
  </code></pre>
  
  <p>I'm aware that this can be achieved using a while loop. Kindly let me know if this can be done using a select query using Common Table Expressions (if needed). Thanks in advance.</p>