update benefits_employee_rule
set is_delete = 1
where employee_code = '13133';

update benefits_employee_rule_information
set is_delete = 1
where group_id in (select benefits_employee_rule_information_group_id
from benefits_employee_rule
where employee_code = '13133'
and is_delete = 0);

update benefits_employee_insurance
set is_delete = 1
where benefits_employee_rule_id in (select id
from benefits_employee_rule
where employee_code = '13133'
and is_delete = 0);