title: How to loop through SQLite step result mutiple times
body: <p>Is there any way to loop through the same SQLite step result mutiple times. </p>
  
  <p>Scenario:
  1. Use step stmt to execute the query
  2. Loop thru the result and do some calculation
  3. Loop thru the same result and do calculation based on value (2) and print the result.</p>
  
  <p>Can someone please suggest how to do this?</p>