Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3a22584

Browse files
authored
docs: update readme to lc problem: No.0176 (doocs#591)
No.0176.Second Highest Salar
1 parent 9be897a commit 3a22584

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

‎solution/0100-0199/0176.Second Highest Salary/README_EN.md‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,48 +6,30 @@
66

77
<p>Write a SQL query to get the second highest salary from the <code>Employee</code> table.</p>
88

9-
10-
119
<pre>
1210

1311
+----+--------+
14-
1512
| Id | Salary |
16-
1713
+----+--------+
18-
1914
| 1 | 100 |
20-
2115
| 2 | 200 |
22-
2316
| 3 | 300 |
24-
2517
+----+--------+
2618

2719
</pre>
2820

29-
30-
3121
<p>For example, given the above Employee table, the query should return <code>200</code> as the second highest salary. If there is no second highest salary, then the query should return <code>null</code>.</p>
3222

33-
34-
3523
<pre>
3624

3725
+---------------------+
38-
3926
| SecondHighestSalary |
40-
4127
+---------------------+
42-
4328
| 200 |
44-
4529
+---------------------+
4630

4731
</pre>
4832

49-
50-
5133
## Solutions
5234

5335
<!-- tabs:start -->

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /