Unfortunately, there is no "in like" operator. You could break it up to a series of LIKE
conditions like @Elfentech suggested, or you could emulate it with the REGEXP_LIKE
function:
SELECT *
FROM employees
WHERE salary BETWEEN 2500 AND 10000
AND NOT REGEXP_LIKE (job_id, '.*[MAN|CLERK].*')
Alternatively, you could join on a bunch of UNION ALL
queries from dual
:
SELECT *
FROM employees
JOIN (SELECT 'MAN' AS search FROM dual
UNION ALL
SELECT 'CLERK' FROM dual) jobs
ON employee.jod_id LIKE CONCAT ('%', jobs.search, '%')
WHERE salary BETWEEN 2500 AND 10000