Skip to content

Commit b947456

Browse files
authored
Create 1873-calculate-special-bonus.sql
1 parent 3c96de4 commit b947456

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

1873-calculate-special-bonus.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Write your MySQL query statement below
2+
select employee_id, if(employee_id%2=1 and name not like'M%', salary,0) as bonus from Employees;

0 commit comments

Comments
 (0)