mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
存量题库数据更新
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
| continent | varchar |
|
||||
| area | int |
|
||||
| population | int |
|
||||
| gdp | int |
|
||||
| gdp | bigint |
|
||||
+-------------+---------+
|
||||
name 是这张表的主键。
|
||||
<code>name</code> 是该表的主键(具有唯一值的列)。
|
||||
这张表的每一行提供:国家名称、所属大陆、面积、人口和 GDP 值。
|
||||
</pre>
|
||||
|
||||
@@ -22,19 +22,19 @@ name 是这张表的主键。
|
||||
<p>如果一个国家满足下述两个条件之一,则认为该国是 <strong>大国</strong> :</p>
|
||||
|
||||
<ul>
|
||||
<li>面积至少为 300 平方公里(即,<code>3000000 km<sup>2</sup></code>),或者</li>
|
||||
<li>面积至少为 300 万平方公里(即,<code>3000000 km<sup>2</sup></code>),或者</li>
|
||||
<li>人口至少为 2500 万(即 <code>25000000</code>)</li>
|
||||
</ul>
|
||||
|
||||
<p>编写一个 SQL 查询以报告 <strong>大国</strong> 的国家名称、人口和面积。</p>
|
||||
<p>编写解决方案找出 <strong>大国</strong> 的国家名称、人口和面积。</p>
|
||||
|
||||
<p>按 <strong>任意顺序</strong> 返回结果表。</p>
|
||||
|
||||
<p>查询结果格式如下例所示。</p>
|
||||
<p>返回结果格式如下例所示。</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><strong>示例:</strong></p>
|
||||
<p><strong class="example">示例:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>输入:</strong>
|
||||
|
Reference in New Issue
Block a user