The following lines contain the word 'select', 'insert', 'update' or 'delete':
(select test_id
from gmd_results r
where
r.result_date > ''' || TO_CHAR(SYSDATE - NVL(EXCLUSIVE_WITHIN
,0)) || ''')';
SELECT
DISTINCT
ORGANIZATION_CODE
INTO ORG_CODE
FROM
MTL_PARAMETERS
WHERE ORGANIZATION_ID = P_ORGANIZATION_ID;