The following lines contain the word 'select', 'insert', 'update' or 'delete':
select LR.rule_mode
into hr_leg_rule.last_found_flag
from pay_legislation_rules LR
where LR.rule_type = 'I'
and LR.legislation_code =
(select BG.legislation_code
from per_business_groups BG
where BG.business_group_id = l_business_group_id);