I am using SQLite and am trying to return the total of one column buy_price in the column TOTAL while at the same time returning all of the data. I
buy_price
TOTAL
Select * from yourtable union select 'Total', ' ', ' ', ' ', sum(buy_price) from yourtable
you can add a row on the bottom like this instead of adding a new column...