Try
update tab employee
set employee.emp_salary = employee.emp_salary * 2
where exists (select 1 from tab customer
where customer.emp_id = employee.emp_id
and customer.cust_id = 4)
or
update tab employee
set employee.emp_salary = employee.emp_salary * 2
from tab employee, tab customer
where customer.emp_id = employee.emp_id
and customer.cust_id = 4
or
update (select emp_salary
from employee e
inner join customer c on c.emp_id = e.emp_id
where c.cust_id = 4) t
set t.emp_salary = t.emp_salary * 2
Oracle Update with Join[
^]