gsSQL
gsSQL copied to clipboard
Column AS that contains FROM
=gsSQL("select sum(net_income_from_taxable) as 'Net Income from Taxable', sum(gross_taxable_income) as 'Total Gross Income' from income where age > ?1 and age <= ?2", "income", A39:Y80, true, currentAgeV2, finalAgeV2)
The column AS 'Net Income from Taxable' fails because 'from' is interpreted as the keyword from. For my use, I will just say 'Net Income out of Taxable' for now.