The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT MAX(transaction_date)
INTO last_receipt_date
FROM rcv_transactions
WHERE po_line_location_id = l_line_location_id
AND transaction_type = 'RECEIVE';
SELECT HE.full_name
FROM hr_employees HE,
po_distributions PD
WHERE PD.line_location_id = l_line_location_id
AND PD.deliver_to_person_id = HE.employee_id;
SELECT count(*)
INTO num_distributions
FROM po_distributions PD
WHERE PD.line_location_id = l_line_location_id;