国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊

[Database-Leetcode]176. Second Highest Salary

2021-02-21 08:43 作者:您是打尖兒還是住店呢  | 我要投稿

Write a SQL query to get the second highest salary from the?Employee?table.

Employee

For example, given the above Employee table, the query should return?200?as the second highest salary. If there is no second highest salary, then the query should return?null.


answer

SELECT MAX(Salary) AS SecondHighestSalary FROM Employee

WHERE Salary < (SELECT MAX(Salary) FROM Employee);






[Database-Leetcode]176. Second Highest Salary的評論 (共 條)

分享到微博請遵守國家法律
大悟县| 荃湾区| 巧家县| 婺源县| 贵阳市| 新和县| 长白| 米泉市| 苏尼特左旗| 南安市| 阳原县| 济南市| 安岳县| 乌恰县| 赤水市| 将乐县| 二连浩特市| 崇信县| 屏东县| 清涧县| 徐汇区| 大关县| 安乡县| 白城市| 百色市| 六枝特区| 金溪县| 名山县| 新干县| 怀远县| 柳河县| 湟中县| 固始县| 灵丘县| 黔江区| 鄂托克前旗| 高雄县| 赫章县| 桂平市| 外汇| 南城县|