There is a sample schema in here: http://sqlfiddle.com/#!2/c0723a/2
query is select id,group_concat(val) from test group by id
result is
ID GROUP_CONCAT(VAL)
1 ,64,66,,203,214,204
I wanted to concat val field without a comma for empty records like this
ID GROUP_CONCAT(VAL)
1 64,66,203,214,204