I have a table containing data in following format
id | name | age
----------------------------
1 | John | 24
2 | Sam | NULL
3 | Ron | 32
4 | Harry | 44
now i want to fetch this into one row like
1:John:24,2:Sam,3:Ron:32,4:Harry:44
I have tried group_concat but it gives me only one columns values separated by comma, is it possible in mysql ?