mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-24 14:28:56 +08:00
update
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"translatedContent": "<p><code>World</code> 表:</p>\n\n<div class=\"top-view__1vxA\">\n<div class=\"original__bRMd\">\n<div>\n<pre>\n+-------------+---------+\n| Column Name | Type |\n+-------------+---------+\n| name | varchar |\n| continent | varchar |\n| area | int |\n| population | int |\n| gdp | int |\n+-------------+---------+\nname 是这张表的主键。\n这张表的每一行提供:国家名称、所属大陆、面积、人口和 GDP 值。\n</pre>\n\n<p> </p>\n\n<p>如果一个国家满足下述两个条件之一,则认为该国是 <strong>大国</strong> :</p>\n\n<ul>\n\t<li>面积至少为 300 平方公里(即,<code>3000000 km<sup>2</sup></code>),或者</li>\n\t<li>人口至少为 2500 万(即 <code>25000000</code>)</li>\n</ul>\n\n<p>编写一个 SQL 查询以报告 <strong>大国</strong> 的国家名称、人口和面积。</p>\n\n<p>按 <strong>任意顺序</strong> 返回结果表。</p>\n\n<p>查询结果格式如下例所示。</p>\n\n<p> </p>\n\n<p><strong>示例:</strong></p>\n\n<pre>\n<strong>输入:</strong>\nWorld 表:\n+-------------+-----------+---------+------------+--------------+\n| name | continent | area | population | gdp |\n+-------------+-----------+---------+------------+--------------+\n| Afghanistan | Asia | 652230 | 25500100 | 20343000000 |\n| Albania | Europe | 28748 | 2831741 | 12960000000 |\n| Algeria | Africa | 2381741 | 37100000 | 188681000000 |\n| Andorra | Europe | 468 | 78115 | 3712000000 |\n| Angola | Africa | 1246700 | 20609294 | 100990000000 |\n+-------------+-----------+---------+------------+--------------+\n<strong>输出:</strong>\n+-------------+------------+---------+\n| name | population | area |\n+-------------+------------+---------+\n| Afghanistan | 25500100 | 652230 |\n| Algeria | 37100000 | 2381741 |\n+-------------+------------+---------+\n</pre>\n</div>\n</div>\n</div>\n",
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 192,
|
||||
"likes": 212,
|
||||
"dislikes": 0,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -47,7 +47,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"118.1K\", \"totalSubmission\": \"152.8K\", \"totalAcceptedRaw\": 118095, \"totalSubmissionRaw\": 152770, \"acRate\": \"77.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"132.3K\", \"totalSubmission\": \"176.8K\", \"totalAcceptedRaw\": 132301, \"totalSubmissionRaw\": 176789, \"acRate\": \"74.8%\"}",
|
||||
"hints": [],
|
||||
"solution": null,
|
||||
"status": null,
|
||||
|
||||
Reference in New Issue
Block a user