Population Density Difference

Sort by

recency

|

507 Discussions

|

  • + 0 comments

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

  • + 0 comments

    --difference between the maximum and minimum populations in CITY

    WITH CTE AS ( SELECT MAX(POPULATION) AS MAX_POPULATION, MIN(POPULATION) AS MIN_POPULATION FROM CITY ) SELECT MAX_POPULATION - MIN_POPULATION FROM CTE;

  • + 0 comments

    select max(population) - min(population) from city

  • + 0 comments

    For MySQL

    SELECT MAX(population) - MIN(population) FROM city;
    
  • + 0 comments

    SELECT MAX(population)-MIN(population) FROM CITY