The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
attendance_id,
person_id,
establishment_id,
establishment,
attended_start_date,
attended_end_date,
full_time,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
object_version_number,
business_group_id,
party_id, -- HR/TCA merge
address -- Education Establishment addresses
from per_establishment_attendances
where attendance_id = p_attendance_id;
select
attendance_id,
person_id,
establishment_id,
establishment,
attended_start_date,
attended_end_date,
full_time,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
object_version_number,
business_group_id,
party_id, -- HR/TCA merge
address
from per_establishment_attendances
where attendance_id = p_attendance_id
for update nowait;