Skip to content

Commit

Permalink
update section question template
Browse files Browse the repository at this point in the history
bdfd committed Mar 11, 2022
1 parent eeabe68 commit e9bce5a
Showing 14 changed files with 129 additions and 145 deletions.
16 changes: 11 additions & 5 deletions 1.1-basics/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:35
* @LastEditTime: 2022-03-04 17:57:49
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.1-basics\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 1.2-simple-join/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 1.3-simple-subquery/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 1.4-case-when-or-iff/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

8 changes: 8 additions & 0 deletions 1.5-window-function/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -12,6 +12,14 @@ Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 2.1-advanced-join/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 2.2-advanced-subquery/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 2.3-recursive-cte/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 3.1-offset-fetch/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

96 changes: 0 additions & 96 deletions 3.1-offset-fetch/177-nth-hightest-salary.md

This file was deleted.

14 changes: 10 additions & 4 deletions 3.2-pivot-or-unpivot/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 3.3-variable/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 3.4-sql-command/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

14 changes: 10 additions & 4 deletions 4.1-mei-ri-yi-ti/176-second-highest-salary.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<!--
* @Author: BDFD
* @Date: 2022-03-04 16:05:34
* @LastEditTime: 2022-03-04 17:58:11
* @LastEditTime: 2022-03-04 18:09:26
* @LastEditors: BDFD
* @Description:
* @FilePath: \Awesome_SQL_Interview_Killer\1.2-simple-join\176-second-highest-salary.md
* @FilePath: \Awesome_SQL_Interview_Killer\1.5-window-function\176-second-highest-salary.md
-->

# 176 Second Highest Salary

**Question Description**
Write a SQL query to get the second highest salary from the Employee table.

---

## **Question Approach**

---

## **Question Tips**

---

**Question Analyze Procedure**
N/A

0 comments on commit e9bce5a

Please sign in to comment.