1 2 3 4
query = "\ SELECT IFNULL(SUM(acctsessiontime),0) \ FROM radacct \ WHERE username = '%{${key}}'"