浏览器标题切换
浏览器标题切换end

LeetCode数据库181 - 超过经理收入的员工 - where的用法

题目链接

https://leetcode-cn.com/problems/employees-earning-more-than-their-managers/

AC代码

select 
    x.Name as 'Employee'
from 
    Employee as x,Employee as y
where 
    x.ManagerId=y.id and x.Salary>y.Salary;  
posted @ 2021-04-12 08:21  抓水母的派大星  阅读(51)  评论(0)    收藏  举报