leetcode-595. 大的国家

595. 大的国家 - 力扣(Leetcode)

两种方法,一个是or一个是unionunion会快一点

# Write your MySQL query statement below

# select name, population, area from World
# where area >= 3000000
# or population >= 25000000

select name, population, area from World
where area >= 3000000
union 
select name, population, area from World
where population >= 25000000
posted @ 2023-01-01 14:27  吴丹阳-V  阅读(22)  评论(0)    收藏  举报