We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- SQL
- Aggregation
- The Blunder
- Discussions
The Blunder
The Blunder
Sort by
recency
|
2132 Discussions
|
Please Login in order to post a comment
Looks like the test case is off? I consistently got 2252, but accroding to the checker the answer is supposed to be 2253.
SELECT CEIL( AVG(salary) - AVG(REPLACE(salary, '0', '')) ) FROM EMPLOYEES;
MS SQL SERVER