I want sql query which gives output as concat string
Sql Query
SELECT GROUP_CONCAT(nm) FROM xyz WHERE xyz.id IN (REPLACE(abc,"|",','))
where abc is string like 1|2|3|4 which is ids of xyz table above query only gives nm of 1st id in abc.I thing it creates query like
SELECT GROUP_CONCAT(nm) FROM xyz WHERE xyz.id IN ("1,2,3,4")
so (") may creates problem anyone can help.