五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

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

[database_leetcode]181. Employees Earning More Than Their Manage

2021-03-05 08:11 作者:您是打尖兒還是住店呢  | 我要投稿

The?Employee?table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id.

employee

Given the?Employee?table, write a SQL query that finds out employees who earn more than their managers. For the above table, Joe is the only employee who earns more than his manager.

| Employee |?

| Joe ? ? ?|


做個(gè)自聯(lián)接即可;

問題屬于簡(jiǎn)單類

select a.name Employee

from employee a join employee b?

on a.managerid=b.id

where a.salary>b.salary




[database_leetcode]181. Employees Earning More Than Their Manage的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國家法律
无棣县| 大邑县| 滦平县| 东城区| 当涂县| 南通市| 岳池县| 钟祥市| 建始县| 祁东县| 汶上县| 龙江县| 洛阳市| 肥西县| 潍坊市| 奉节县| 定陶县| 临海市| 镇雄县| 汶上县| 安多县| 南丰县| 当阳市| 稷山县| 绥江县| 玛纳斯县| 韶关市| 镇赉县| 贵南县| 肥城市| 册亨县| 双鸭山市| 宿松县| 南昌市| 苏尼特左旗| 新竹县| 旌德县| 贵南县| 宜良县| 沿河| 余干县|