title: get number of records on the basis of one value
body: <p>Input table</p>
  <pre><code>Col
  1
  2
  3
  4
  5
  </code></pre>
  <p>Output</p>
  <pre><code>1
  2
  2
  3
  3
  3
  4
  4
  4
  4
  5
  5
  5
  5
  5
  </code></pre>
  <p>Is there any way this could be achieved in sql without writing any function ?</p>