leetcode 176. Second Highest Salary
来源:互联网 发布:淘宝账号贷款真的假的 编辑:程序博客网 时间:2024/06/01 09:35
方法1、
SELECT IFNULL(MAX(Salary), NULL) SecondHighestSalaryFROM EmployeeWHERE Salary < (SELECT MAX(Salary) FROM Employee)
方法2、
SELECT DISTINCT (Salary) AS SecondHighestSalaryFROM EmployeeUNIONSELECT NULLORDER BY SecondHighestSalary DESCLIMIT 1, 1
阅读全文
0 0
- leetcode 176. Second Highest Salary
- leetcode 176. Second Highest Salary
- leetcode.176. Second Highest Salary
- leetcode 176. Second Highest Salary
- Leetcode 176. Second Highest Salary
- leetcode 176. Second Highest Salary
- leetcode 176. Second Highest Salary
- 176. Second Highest Salary(Leetcode)
- LeetCode:Second Highest Salary
- Leetcode: Second Highest Salary
- LeetCode Second Highest Salary
- Second Highest Salary Leetcode
- Leetcode: Second Highest Salary
- LeetCode Second Highest Salary
- 【Leetcode】 Second Highest Salary
- leetcode-Second Highest Salary
- 【LeetCode】Second Highest Salary && Nth Highest Salary
- LeetCode | Second Highest Salary & Nth highest salary
- 10.13
- CopyOnWriteArrayList与Collections.synchronizedList的性能对比
- Unity Shaderlab: Object Outlines
- WebView 使用漏洞
- Linux常用超强命令组合
- leetcode 176. Second Highest Salary
- 使用三阶贝塞尔曲线实现直播中点赞效果
- 【Codeforces Round #427】A(模拟) B (贪心) C (DP)
- 牛顿法与拟牛顿法学习笔记(四)BFGS 算法
- android 热更新 下载dex文件
- 格雷码转换
- some useful links and articles
- 运行库:I/O初始化之“文件”句柄管理
- 第1075期AI100_机器学习日报(2017-08-28)