Site: LeetCode
Difficulty per Site: Easy
A country is big if:
- it has an area of at least three million (i.e., 3000000 km2), or
- it has a population of at least twenty-five million (i.e., 25000000).
Write a solution to find the name, population, and area of the big countries.
Return the result table in any order. [Full Description]
-- Submitted Solution
SELECT
name
,population
,area
FROM World
WHERE area >= 3000000
OR population >= 25000000
;
-- LeetCode Solution
-- Site solution essentially the same.
TODO
Go to Table of Contents
Go to Overview