diff --git a/select-from-world.sql b/select-from-world.sql index 177e453..7a95d84 100644 --- a/select-from-world.sql +++ b/select-from-world.sql @@ -72,6 +72,10 @@ FROM world WHERE (area > 3000000 AND population < 250000000) OR (area < 3000000 and population > 250000000) +--Alternate +SELECT name, population, area +FROM world +WHERE area > 3000000 XOR population > 250000000 --#9 /* Show the name and population in millions and the GDP in billions for the countries of the continent 'South America'. Use the ROUND function to show the values to two decimal places.