The Blunder

  • + 1 comment
    inplace of CEILING() function, using ROUND() function optimizes the code

    SELECT ROUND(AVG(Salary))-ROUND(AVG(replace(salary, '0', ''))) FROM Employees;