You are viewing a single comment's thread. Return to all comments →
SELECT ceiling(AVG((salary) - CAST(REPLACE(CAST(salary AS VARCHAR), '0', '') AS Numeric))) 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 →
SELECT ceiling(AVG((salary) - CAST(REPLACE(CAST(salary AS VARCHAR), '0', '') AS Numeric))) FROM Employees;