cast(tableA.charge_amt AS decimal(8,2)) AS charge_amt
cast (Non_Updated as decimal) / Total_Devices AS Percent_Failure