我寻求一种能够写出这样的东西的方法
select complicated_calculation1 as comp1,
complicated_calculation2 as comp2,
(comp1/comp2) as percent
from table
而不是像这样以更复杂的方式编写它
select complicated_calculation1 as comp1,
complicated_calculation2 as comp2,
(complicated_calculation1/complicated_calculation2) as percent
from table
这可能吗?