输入banner图图片脚本导航/分类

MySql_176. 第二高的薪水 + limit + distinct + null

MySql_176. 第二高的薪水

LeetCode_MySql_176

题目描述

技术图片

题解分析

技术图片
技术图片

代码实现

# Write your MySQL query statement below
select(
    select distinct Salary 
        from Employee
        order by Salary desc
        limit 1 offset 1) as SecondHighestSalary;

MySql_176. 第二高的薪水 + limit + distinct + null

标签:sel   http   src   stat   esc   select   from   statement   实现