We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Population Density Difference
Population Density Difference
Sort by
recency
|
549 Discussions
|
Please Login in order to post a comment
SELECT max(population)-min(population) FROM city;
solution query
** MYSQL**
SELECT max(population)-min(population)from city;
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?
select (max(POPULATION) - min(POPULATION)) as Population_diff from city;