
문제
https://leetcode.com/problems/employee-bonus/description/
문제 설명
- 보너스가 1000 미만이거나, 보너스 정보가 없는 직원의 name과 bonus를 조회
정답 코드
SELECT e.name, b.bonus
FROM employee e LEFT JOIN bonus b ON e.empId = b.empId
WHERE b.bonus < 1000 OR b.bonus IS NULL'코딩 테스트 연습 > [프로그래머스][리트코드] MySQL' 카테고리의 다른 글
| 570. Managers with at Least 5 Direct Reports (4) | 2025.08.29 |
|---|---|
| 1280. Students and Examinations (2) | 2025.08.28 |
| 1661. Average Time of Process per Machine ⭐️ (3) | 2025.08.25 |
| 197. Rising Temperature ⭐️ (0) | 2025.08.21 |
| 1581. Customer Who Visited but Did Not Make Any Transactions (0) | 2025.08.19 |