SELECT
c.CI_ID,
c.STU_IDS,
wm_concat ( CASE WHEN instr( c.STU_IDS, s.STU_ID ) > 0 THEN s.stu_name ELSE NULL END ) stu_id
FROM
PM_CI c,
PM_STU s
GROUP BY
c.CI_ID,
c.STU_IDS;
SELECT
c.CI_ID,
c.STU_IDS,
wm_concat ( CASE WHEN instr( c.STU_IDS, s.STU_ID ) > 0 THEN s.stu_name ELSE NULL END ) stu_id
FROM
PM_CI c,
PM_STU s
GROUP BY
c.CI_ID,
c.STU_IDS;