LC 181
- 题号:181
- 来源:LeetCode
- 难度:简单
- 标签:
哈希表 - 语言:SQL
- 解法:1 个
- 作者:lmliheng
- 最近更新:2026-09-27
SQL · 更新于 2026-09-27
自连接员工表,找出工资高于经理的人
sql
-- @difficulty easy
-- @tags 哈希表
-- @note 自连接员工表,找出工资高于经理的人
select a.name as Employee
from Employee as a,Employee as b
where a.managerId=b.id and a.salary>b.salary在 GitHub 上查看题目所在目录:lmliheng/algorithm