title: Repeat Rows N Times According to Column Value
body: <p>I have following table.</p>
  
  <pre><code>Table A:
  ID         ProductFK         Quantity       Price
  ------------------------------------------------
  10         1                  2           100
  11         2                  3           150
  12         1                  1           120
  ----------------------------------------------
  </code></pre>
  
  <p>I need select that repeat Rows N Time According to Quantity Column Value.</p>
  
  <p>So I need following select result:</p>
  
  <pre><code>ID        ProductFK         Quantity        Price
  ------------------------------------------------
  10        1                   1          100
  10        1                   1          100
  11        2                   1          150
  11        2                   1          150
  11        2                   1          150
  12        1                   1          120
  </code></pre>