Population Density Difference

Query the difference between the maximum and minimum populations in CITY.

Input Format

The CITY table is described as follows: 

Solution Implementation


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

Leave a Reply

Your email address will not be published. Required fields are marked *