Leetcode PHP题解--D6 595. Big Countries
生活随笔
收集整理的這篇文章主要介紹了
Leetcode PHP题解--D6 595. Big Countries
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
595. Big Countries
題目鏈接
595. Big Countries
題目分析
這道題是個SQL題。
要求返回國土面積大于300萬平方公里或者人口多于2500萬人的國家的名稱、人口、面積。
思路
國土面積大于300萬平方公里:area>3000000
人口多于2500萬人:population>25000000
返回名稱、人口、面積:select name, population, area
最終代碼
# Write your MySQL query statement below select name, population,area from world where area>3000000 or population>25000000; 復制代碼若覺得本文章對你有用,歡迎用愛發電資助。
總結
以上是生活随笔為你收集整理的Leetcode PHP题解--D6 595. Big Countries的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Open vSwitch介绍
- 下一篇: 自动登录(过滤器filter的应用)