Question : SQL Query and calculation statement

Hi SQL Experts,

I'm still a neewb with SQL and trying to learn it here and there.

I need help with taking results from a query and using that data in a formula.

So say i have a table named "Tenants" and i want to take the data from the column "Rent"  and multiply it by 1.04 then save the results to csv file.

Or if there's a different/better way to do it, I'm open to suggestions.

Answer : SQL Query and calculation statement

SELECT Rent*1.04 as rent
FROM tenants

run the above query

from the result pane, 'Select all the records' -> right click-> save the result as CSV
Random Solutions  
 
programming4us programming4us