कोशिश करें: SELECT CAST( CONCAT('["', REPLACE('a,b,c,d', ',', '","'), '"]') AS JSON ); देखें dbfiddle ।