select m.id, m.userid
from app_result_record m
where INSTR(',' || v_resultId || ',', ',' || m.result_id || ',') > 0
这样就可以查到你想要的数据了
select m.id, m.userid
from app_result_record m
where INSTR(',' || v_resultId || ',', ',' || m.result_id || ',') > 0
这样就可以查到你想要的数据了
转载于:https://www.cnblogs.com/tangjianglan/archive/2012/09/19/2693593.html