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