You are viewing a single comment's thread. Return to all comments →
Y we are casting the value? if it is already in int. SELECT CEIL(AVG(SALARY)- AVG(REPLACE(SALARY,'0',''))) FROM Employees; is this a correct solution?
Seems like cookies are disabled on this browser, please enable them to open this website
The Blunder
You are viewing a single comment's thread. Return to all comments →
Y we are casting the value? if it is already in int. SELECT CEIL(AVG(SALARY)- AVG(REPLACE(SALARY,'0',''))) FROM Employees; is this a correct solution?