Population Density Difference

Sort by

recency

|

549 Discussions

|

  • + 0 comments
    SELECT 
        MAX(POPULATION) - MIN(POPULATION) AS Population_difference
    FROM CITY
    
  • + 0 comments

    SELECT max(population)-min(population) FROM city;

    solution query

  • + 0 comments

    ** MYSQL**

    SELECT max(population)-min(population)from city;

  • + 0 comments

    As amateur, i wrote it like this

    SELECT (MAX(POPULATION) - MIN(POPULATION)) FROM CITY;

    It still works and i don't understand why need to put "AS Difference". is that a comment or a new command?

  • + 0 comments

    select (max(POPULATION) - min(POPULATION)) as Population_diff from city;