select 
    nodw as "node ID",
    riskvale as "TotalRis",
    (portvalue - marvalue) as "TotalMarValue" 
    --{ Here I want to take the upper column value i.e ""TotalRis"" / "TotalMarValue" * 100 } as "total Uses"**
from 
    abc
I want to use the output of "TotalRis" and "TotalMarValue" column to get the output for other column. I tried with @{TotalRis} but query not getting execute.
 
    