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
It sounds like this is what you are looking for:
select id, dt, pool_name, pool_id, buy_price, (select sum(buy_price) from yourtable) total from yourtable
see SQL Fiddle with Demo