Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions select-from-world.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down