The Blunder

  • + 0 comments

    with raw AS ( select avg(Salary) as actual ,avg(cast(replace(Salary,'0','') as SIGNED)) as mis_calculated from EMPLOYEES )

    select ceil(actual - mis_calculated) from raw