1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

存量题库数据更新

This commit is contained in:
2023-12-09 18:42:21 +08:00
parent a788808cd7
commit c198538f10
10843 changed files with 288489 additions and 248355 deletions

View File

@@ -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>编写解决方案找出&nbsp;<strong>大国</strong> 的国家名称、人口和面积。</p>
<p><strong>任意顺序</strong> 返回结果表。</p>
<p>查询结果格式如下例所示。</p>
<p>返回结果格式如下例所示。</p>
<p>&nbsp;</p>
<p><strong>示例:</strong></p>
<p><strong class="example">示例:</strong></p>
<pre>
<strong>输入:</strong>