You are viewing a single comment's thread. Return to all comments →
Use code in MySQL : SELECT CEILING(AVG(salary) - AVG(CAST(REPLACE(CAST(salary AS CHAR), '0', '') AS DECIMAL))) FROM employees;
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 →
Use code in MySQL : SELECT CEILING(AVG(salary) - AVG(CAST(REPLACE(CAST(salary AS CHAR), '0', '') AS DECIMAL))) FROM employees;