私はこのようなものを書くことができる方法を探しています
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
これは可能ですか?