with t1 as ( select a.emp_no, a.recevied, b.first_name, b.last_name, a.btype from emp_bonus as a left join employees as b on a.emp_no = b.emp_no ) select t1.emp_no, t1.first_name, t1.last_name, t1.btype, c.salary, (case when t1.btype = 1 then round(c.salary*0.1, 1) when t1.btype = 2...