"cast(p.credit_amount * COALESCE(cer.val,1.00) as BIGINT) as credit_amount_usd"
I want to cast credit_amount_usd column same as p.credit_amoun