mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
| employee_id | int |
|
||||
| name | varchar |
|
||||
+-------------+---------+
|
||||
employee_id is the primary key for this table.
|
||||
employee_id is the column with unique values for this table.
|
||||
Each row of this table indicates the name of the employee whose ID is employee_id.
|
||||
</pre>
|
||||
|
||||
@@ -22,13 +22,13 @@ Each row of this table indicates the name of the employee whose ID is employee_i
|
||||
| employee_id | int |
|
||||
| salary | int |
|
||||
+-------------+---------+
|
||||
employee_id is the primary key for this table.
|
||||
employee_id is the column with unique values for this table.
|
||||
Each row of this table indicates the salary of the employee whose ID is employee_id.
|
||||
</pre>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>Write an SQL query to report the IDs of all the employees with <strong>missing information</strong>. The information of an employee is missing if:</p>
|
||||
<p>Write a solution to report the IDs of all the employees with <strong>missing information</strong>. The information of an employee is missing if:</p>
|
||||
|
||||
<ul>
|
||||
<li>The employee's <strong>name</strong> is missing, or</li>
|
||||
@@ -37,10 +37,10 @@ Each row of this table indicates the salary of the employee whose ID is employee
|
||||
|
||||
<p>Return the result table ordered by <code>employee_id</code> <strong>in ascending order</strong>.</p>
|
||||
|
||||
<p>The query result format is in the following example.</p>
|
||||
<p>The result format is in the following example.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong>
|
||||
|
Reference in New Issue
Block a user