176. Segundo salario más alto
SELECT IFNULL( # 没有返回NULL
(SELECT DISTINCT(Salary) FROM Employee # 选取不同的薪资
ORDER BY Salary DESC # 降序
LIMIT 1,1) # 第1个开始1条信息
,NULL
) AS SecondHighestSalary
Notas: SELECCIONE IFNULL (condición, NULL) # procesamiento de valor nulo
DISTINCT se coloca antes de col, ORDER BY por defecto en orden ascendente
LIMIT i, n obtiene n filas de datos de la fila i-ésima de datos