Answers for "mysql join table with a text columns with ids splited by char"

SQL
0

mysql join table with a text columns with ids splited by char

SELECT a.c1,
        a.ids,
        GROUP_CONCAT(b.name SEPARATOR '|')
FROM Table1 a
INNER JOIN Table2 b
ON FIND_IN_SET(b.id, REPLACE(a.ids, '|', ','))
GROUP BY a.c1,
        a.ids
Posted by: Guest on December-13-2021

Code answers related to "mysql join table with a text columns with ids splited by char"

Code answers related to "SQL"

Browse Popular Code Answers by Language