Leetcode in Java && Oracle
422 subscribers
8 photos
397 files
400 links
Second channel: @codeforces_java

Let's Develop Together!
Download Telegram
image_2022-03-28_17-43-22.png
21 KB
#N1873. Calculate Special Bonus
problem link

#solution
SELECT employee_id, (
CASE
WHEN employee_id%2=1 AND name NOT LIKE 'M%' THEN salary
ELSE 0
END
) AS bonus FROM employees;