Gunakan concat di grup_concat
SELECT GROUP_CONCAT(
CONCAT(
'{ID:', ID,
',ParentID:', ParentID,
'}'
) SEPARATOR ","
) FROM table
Cute Caterpillar