Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions solution/0100-0199/0177.Nth Highest Salary/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,48 +6,31 @@

<p>Write a SQL query to get the <em>n</em><sup>th</sup> highest salary from the <code>Employee</code> table.</p>



<pre>

+----+--------+

| Id | Salary |

+----+--------+

| 1 | 100 |

| 2 | 200 |

| 3 | 300 |

+----+--------+

</pre>



<p>For example, given the above Employee table, the <em>n</em><sup>th</sup> highest salary where <em>n</em> = 2 is <code>200</code>. If there is no <em>n</em><sup>th</sup> highest salary, then the query should return <code>null</code>.</p>



<pre>

+------------------------+

| getNthHighestSalary(2) |

+------------------------+

| 200 |

+------------------------+

</pre>



## Solutions

<!-- tabs:start -->
Expand Down