Leetcode - 1873. Calculate Special Bonus
문제
정답
SELECT employee_id, IF (employee_id % 2 = 1 AND name NOT LIKE 'M%', salary, 0) AS bonus
FROM Employees
SELECT employee_id, IF (employee_id % 2 = 1 AND name NOT LIKE 'M%', salary, 0) AS bonus
FROM Employees