Employee Bonus

수이·2025년 5월 27일

🟢 코드카타 / SQL

목록 보기
87/88

Write a solution to report the name and bonus amount of each employee with a bonus less than 1000. Return the result table in any order.
문제링크

풀이

SELECT e.name,
       b.bonus
FROM employee e
LEFT JOIN bonus b ON e.empId = b.empId
WHERE b.bonus IS NULL OR b.bonus < 1000

0개의 댓글