當(dāng)前位置:
首頁 >
第一题:Big Countries
發(fā)布時間:2024/9/5
40
豆豆
生活随笔
收集整理的這篇文章主要介紹了
第一题:Big Countries
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
https://leetcode.com/problems/big-countries/description/
要求:
+-----------------+------------+------------+--------------+---------------+ | name | continent | area | population | gdp | +-----------------+------------+------------+--------------+---------------+ | Afghanistan | Asia | 652230 | 25500100 | 20343000 | | Albania | Europe | 28748 | 2831741 | 12960000 | | Algeria | Africa | 2381741 | 37100000 | 188681000 | | Andorra | Europe | 468 | 78115 | 3712000 | | Angola | Africa | 1246700 | 20609294 | 100990000 | +-----------------+------------+------------+--------------+---------------+查找面積超過 3,000,000 或者人口數(shù)超過 25,000,000 的國家。
+--------------+-------------+--------------+ | name | population | area | +--------------+-------------+--------------+ | Afghanistan | 25500100 | 652230 | | Algeria | 37100000 | 2381741 | +--------------+-------------+--------------+解題: SELECT name, population, area FROM World WHERE area > 3000000 OR population > 25000000;
?
轉(zhuǎn)載于:https://www.cnblogs.com/xlzfdddd/p/10173248.html
總結(jié)
以上是生活随笔為你收集整理的第一题:Big Countries的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 关于top命令
- 下一篇: 安装mq的时候,计算机用户名是中文名的解