1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-18 11:36:48 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

更新国内版力扣题目描述变更

This commit is contained in:
2022-05-02 23:42:43 +08:00
parent 74598d1cf8
commit 7ea03594b3
198 changed files with 11378 additions and 11118 deletions

View File

@@ -10,8 +10,8 @@
| commission_rate | int |
| hire_date | date |
+-----------------+---------+
Sales_id是该表的主键列。
该表的每一行都显示了销售人员的姓名和ID以及他们的工资、佣金率和雇佣日期。
sales_id 是该表的主键列。
该表的每一行都显示了销售人员的姓名和 ID ,以及他们的工资、佣金率和雇佣日期。
</pre>
<p>&nbsp;</p>
@@ -26,8 +26,8 @@ Sales_id是该表的主键列。
| name | varchar |
| city | varchar |
+-------------+---------+
Com_id是该表的主键列。
该表的每一行都表示公司的名称和ID以及公司所在的城市。
com_id 是该表的主键列。
该表的每一行都表示公司的名称和 ID ,以及公司所在的城市。
</pre>
<p>&nbsp;</p>
@@ -44,10 +44,10 @@ Com_id是该表的主键列。
| sales_id | int |
| amount | int |
+-------------+------+
Order_id是该表的主键列。
com_idCompany表中com_id的外键。
sales_id是来自销售员表com_id的外键。
该表的每一行包含一个订单的信息。这包括公司的ID、销售人员的ID、订单日期和支付的金额。
order_id 是该表的主键列。
com_idCompany 表中 com_id 的外键。
sales_id 是来自销售员表 sales_id 的外键。
该表的每一行包含一个订单的信息。这包括公司的 ID 、销售人员的 ID 、订单日期和支付的金额。
</pre>
<p>&nbsp;</p>
@@ -60,10 +60,10 @@ sales_id是来自销售员表com_id的外键。
<p>&nbsp;</p>
<p><strong>示例 1:</strong></p>
<p><strong>示例</strong></p>
<pre>
<strong>输入:</strong>
<strong>输入</strong>
SalesPerson 表:
+----------+------+--------+-----------------+------------+
| sales_id | name | salary | commission_rate | hire_date |
@@ -92,7 +92,7 @@ Orders 表:
| 3 | 3/1/2014 | 1 | 1 | 50000 |
| 4 | 4/1/2014 | 1 | 4 | 25000 |
+----------+------------+--------+----------+--------+
<strong>输出:</strong>
<strong>输出</strong>
+------+
| name |
+------+
@@ -100,6 +100,6 @@ Orders 表:
| Mark |
| Alex |
+------+
<strong>解释:</strong>
<strong>解释</strong>
根据表&nbsp;<code>orders</code>&nbsp;中的订单 '3' 和 '4' ,容易看出只有 'John' 和 'Pam' 两个销售员曾经向公司 'RED' 销售过。
所以我们需要输出表&nbsp;<code>salesperson</code>&nbsp;中所有其他人的名字。</pre>