The Blunder

  • + 0 comments

    SELECT Ceiling(AVG(salary-REPLACE(salary, '0', ''))) from EMPLOYEES;

    Calculate the differences first, and then apply the avg, and then ceilling