I have been working on this but I can\'t seem to get there. I would like to make a query that will do the calculations in the database, store the results in variables I can pull