The Blunder

Sort by

recency

|

2186 Discussions

|

  • + 0 comments

    How can I remove digits from a record, I have not learned that concept yet... It comes under DDL ??

  • + 0 comments

    Everyone here is just so stupid. This tab was supposed to be for discussion. not for revealing solutions.

  • + 0 comments

    SELECT round(avg(salary)-round(avg(replace(salary,'0','')))) FROM employees;

    easy solution

  • + 1 comment

    select ceil(avg(salary) - avg(replace(salary,'0',''))) from employees;

  • + 0 comments

    SELECT CEILING(AVG(Salary)-CAST(AVG(REPLACE(CAST(Salary CHAR),'0',''))UNSIGNED )) FROM EMPLOYEES;