You are viewing a single comment's thread. Return to all comments →
select cast (ceiling(avg(cast(salary as float))-avg(convert(float,replace(str(salary),'0',''))))as int) from employee;
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 cast (ceiling(avg(cast(salary as float))-avg(convert(float,replace(str(salary),'0',''))))as int) from employee;