1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-02 14:12:17 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -12,7 +12,7 @@
"translatedContent": "<p>表:<code>Employee</code>&nbsp;</p>\n\n<pre>\n+-------------+---------+\n| Column Name | Type |\n+-------------+---------+\n| id | int |\n| name | varchar |\n| salary | int |\n| managerId | int |\n+-------------+---------+\nId是该表的主键。\n该表的每一行都表示雇员的ID、姓名、工资和经理的ID。\n</pre>\n\n<p>&nbsp;</p>\n\n<p>编写一个SQL查询来查找收入比经理高的员工。</p>\n\n<p>以 <strong>任意顺序</strong> 返回结果表。</p>\n\n<p>查询结果格式如下所示。</p>\n\n<p>&nbsp;</p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre>\n<strong>输入:</strong> \nEmployee 表:\n+----+-------+--------+-----------+\n| id | name | salary | managerId |\n+----+-------+--------+-----------+\n| 1 | Joe | 70000 | 3 |\n| 2 | Henry | 80000 | 4 |\n| 3 | Sam | 60000 | Null |\n| 4 | Max | 90000 | Null |\n+----+-------+--------+-----------+\n<strong>输出:</strong> \n+----------+\n| Employee |\n+----------+\n| Joe |\n+----------+\n<strong>解释:</strong> Joe 是唯一挣得比经理多的雇员。</pre>\n",
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 480,
"likes": 491,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
@@ -47,7 +47,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"199.2K\", \"totalSubmission\": \"287.5K\", \"totalAcceptedRaw\": 199170, \"totalSubmissionRaw\": 287472, \"acRate\": \"69.3%\"}",
"stats": "{\"totalAccepted\": \"205.2K\", \"totalSubmission\": \"296.3K\", \"totalAcceptedRaw\": 205160, \"totalSubmissionRaw\": 296276, \"acRate\": \"69.2%\"}",
"hints": [],
"solution": null,
"status": null,