mirror of
https://github.com/devenperez/leetcode.git
synced 2026-06-15 09:57:09 +00:00
Time: 422 ms (26.04%), Space: 0B (100.00%) - LeetHub
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
# Write your MySQL query statement below
|
||||||
|
SELECT
|
||||||
|
IFNULL(
|
||||||
|
(SELECT DISTINCT salary
|
||||||
|
FROM Employee
|
||||||
|
ORDER BY salary DESC
|
||||||
|
LIMIT 1 OFFSET 1),
|
||||||
|
NULL) as SecondHighestSalary
|
||||||
Reference in New Issue
Block a user