Average Population

Sort by

recency

|

675 Discussions

|

  • + 0 comments

    SELECT FLOOR(AVG(POPULATION)) AS AVG_POPULATION FROM CITY;

  • + 0 comments

    mysql:

    select round(avg(population)) from city;
    
  • + 1 comment

    SELECT ROUND(AVG(POPULATION), 0) FROM CITY; OR SELECT FLOOR(AVG(POPULATION)) FROM CITY;

    both works fine

  • + 0 comments
    SELECT ROUND(AVG(POPULATION)) FROM CITY;
    
  • + 0 comments

    for ms sql SELECT CEILING(AVG(POPULATION)) FROM CITY