title: Pull values from all database row's for calculations
body: <p>I have implemented a Database in my project and following several tutorials, have been able to pull data and display in listviews. I, however, have not been able to search and find a solution to my current problem.</p>
  
  <p>I have two columns in a table. The columns are: <strong>TABLE_UNITS</strong> and <strong>TABLE_PRICE</strong> and they are in the table <strong>TABLE</strong>. I want to display a combined portfolio of sorts where each rows, UNITS and PRICE have to be multiplied and this sub total will be added for each row present in the database. To make it clearer:</p>
  
  <p>UNITS ---- PRICE ---- <strong>TOTAL</strong></p>
  
  <p>50------------5-----------<strong>250</strong></p>
  
  <p>20------------10----------<strong>200</strong></p>
  
  <p>GRAND TOTAL ------- <strong>450</strong></p>
  
  <p>So the question is, how do I pull all this information into, say a string, and then calculate and then get the next row, do the same calculation and get the Grand Total?</p>