鏈接:https://leetcode.cn/problems/employees-earning-more-than-their-managers/
我的代碼:
select a.name Employee from employee a
where a.salary>
(select b.salary from employee b
where a.managerid =b.id)
執行結果
提交結果 執行用時 內存消耗 語言 提交時間 備註
通過
1137 ms 0 B MySQL 2022/07/01 14:58