Update on all columns when special value updated
create or replace teigger m_job
after update on salgradefor each row
declare
cursor c_emp is
select * from emp
where job = :new.job
and sal< :new.losal for update;
emp_rec c_emp%rowtype;
begin
for emp_rec in c_emp loop
update emp
set sal = :new.losal
where current of c_emp;
end loop;
end ;