You are viewing a single comment's thread. Return to all comments →
Hi Dinesh, Which type of SQL did this work, it didnot work for MS SQL
select CEILING (AVG (cast ((Salary) as decimal)) - AVG (cast ((replace(salary, '0','')) as decimal))) from employees
the above code worked.
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 →
Hi Dinesh, Which type of SQL did this work, it didnot work for MS SQL
the above code worked.