无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(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)遵守國家法律
金阳县| 固阳县| 平顶山市| 遂宁市| 克山县| 丹东市| 穆棱市| 沾化县| 武城县| 三门峡市| 镇巴县| 务川| 宁河县| 元朗区| 顺义区| 清涧县| 九龙坡区| 苗栗县| 儋州市| 长葛市| 铅山县| 陆川县| 苍梧县| 应城市| 桓台县| 油尖旺区| 凤山县| 海丰县| 太康县| 临泉县| 锡林郭勒盟| 潮安县| 保定市| 溆浦县| 日喀则市| 永兴县| 江津市| 惠东县| 浦北县| 封开县| 嘉鱼县|