LeetCode 595. Big Countries (Grand National)

Topic Tags:

  The subject has given us a world table, let's find an area greater than 3 million square km, or a population greater than 25 million.

  Search directly with two conditions.

 

Java Solution:

Runtime:  257 ms, faster than 37 % 

Memory Usage: N/A

Completion Date: 07/02/2019

Key: n / a

# Write your MySQL query statement below
SELECT name, population, area
FROM World
WHERE area > 3000000 OR population > 25000000;

References: n / a

LeetCode title list -  LeetCode Questions List

Topic Source: https: //leetcode.com/

Guess you like

Origin www.cnblogs.com/jimmycheng/p/11450660.html