title: How to generate a range of numbers between two numbers?
body: <p>I have two numbers as input from the user, like for example  <code>1000</code> and <code>1050</code>.</p>
  
  <p>How do I generate the numbers between these two numbers, using a sql query, in seperate rows? I want this:</p>
  
  <pre><code> 1000
   1001
   1002
   1003
   .
   .
   1050
  </code></pre>