After doing some joins and stuff I have table in the following format
name session_id status time
abc 1 10
xyz 2 11
jack 2 10
zuck 1 10
paul 1 10
Now I want my results to be grouped like this
session_id name+status time
1 abc:10, zuck:10, paul:10
2 xyz:11, jack:11
and the result set to be sorted by time, I'm little confused how to achieve this using group by