#409

Computing the Special Bonus

The bonus equals 100% of an employee's salary when the employee_id is odd and the name does not start with 'M'; otherwise the bonus is 0. Return employee_id and bonus ordered by employee_id.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

bonusemployee_id
02
03
74007

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid