The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pa.date_received
from per_applications pa
where pa.person_id = p_person_id
and pa.application_id = p_application_id;
select pt.system_person_type,
p.effective_start_date
from per_all_people_f p,
per_person_types pt
where p.person_id = p_person_id
and p.person_type_id = pt.person_type_id
and p_received_date between
p.effective_start_date and p.effective_end_date ;