You are viewing a single comment's thread. Return to all comments →
SELECT CEILING( ABS( AVG(1.0 * Salary) - AVG(1.0 * CAST(REPLACE(Salary, '0', '') AS INT)) ) ) AS error_amount 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( ABS( AVG(1.0 * Salary) - AVG(1.0 * CAST(REPLACE(Salary, '0', '') AS INT)) ) ) AS error_amount FROM Employees;