Average Population

  • + 2 comments

    I think we should use round function as they have asked nearest integer. Eg. if value is 1.6 nearest integer will be 2, but floor will give result as 1. Make me correct if I am wrong.

    select round(avg(population)) from city;