From 44f08f72e15e2828c253c642d4a02baf5ab7836d Mon Sep 17 00:00:00 2001 From: Devansh Pratap Singh <53232548+devanshpratapsingh@users.noreply.github.com> Date: Sun, 19 Jan 2025 20:49:48 -0500 Subject: [PATCH] Update select-from-world.sql --- select-from-world.sql | 4 ++++ 1 file changed, 4 insertions(+) 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.