595. Big Countries
Union
is Faster then OR
!
There is a table World
1 | +-----------------+------------+------------+--------------+---------------+ |
A country is big if it has an area of bigger than 3 million square km or a population of more than 25 million.
Write a SQL solution to output big countries’ name, population and area.
For example, according to the above table, we should output:
1 | +--------------+-------------+--------------+ |
Soulution:
1 | -- OR solution |
1 | -- Union solution |