oracle 逗号分隔的字符串字段,关联表查询

 

 

 

 

 

select
    t.pro_ids,
    wm_concat(t1.name) pro_names
from info t,product t1
where instr(','||t.pro_ids|| ',',','|| t1.id|| ',') > 0
group by pro_ids

 

 

文章来源:https://blog.csdn.net/x1107761900/article/details/88972610

 

posted @ 2020-06-03 18:58  草木物语  阅读(4044)  评论(0编辑  收藏  举报