
[LeetCode] 184. Department Highest Salary
·
코딩테스트/MySQL
🔗 Problem Linkhttps://leetcode.com/problems/department-highest-salary/description/❔ThinkingEmployee 테이블과 Department 테이블이 주어질 때, 각 부서별 최고 연봉을 받는 사람의 정보를 담은 테이블을 반환한다.Input: Employee table:+----+-------+--------+--------------+| id | name | salary | departmentId |+----+-------+--------+--------------+| 1 | Joe | 70000 | 1 || 2 | Jim | 90000 | 1 || 3 | Henry | 80000..