diff --git a/Leetcode-Medium/176-SecondHighestSalary/Solution.sql b/Leetcode-Medium/176-SecondHighestSalary/Solution.sql new file mode 100644 index 0000000..a2f221e --- /dev/null +++ b/Leetcode-Medium/176-SecondHighestSalary/Solution.sql @@ -0,0 +1,4 @@ +# Write your MySQL query statement below +SELECT MAX(Salary) as SecondHighestSalary +FROM Employee +WHERE Salary < (SELECT MAX(Salary) FROM Employee) \ No newline at end of file