WITH T AS
(SELECT '9884' ID, '9834,12095' APP
FROM DUAL
UNION ALL
SELECT '9834' ID, '2095,2100' APP
FROM DUAL
UNION ALL
SELECT '9890' ID, '20951' APP
FROM DUAL
UNION ALL
SELECT '9866' ID, '2100,2095,2099' APP
FROM DUAL)
SELECT * FROM T WHERE REGEXP_LIKE(APP, '(\,2095 ------解决方案-------------------- ^2095)[$,]');