The following lines contain the word 'select', 'insert', 'update' or 'delete':
select duration_from, duration_to, score
from iby_irf_timeof_purchase
where ( ( payeeid is null and ci_payeeid is null ) or
payeeid = ci_payeeid)
order by seq;
select count(1) into l_cnt
from iby_irf_timeof_purchase
where payeeid = i_payeeid;