Hackerrank - The Blunder solution

Problem link

Solution one:

SELECT CEIL(AVG(SALARY)-AVG(REPLACE(SALARY, 0 , ''))) FROM EMPLOYEES;
Previous
Next