How to get all events that happen to a person in one row?
Example: (It doesn't make any sense, just for an example)
Id Name Event Date
1 John Running 2017/09/13
2 Mary Sleeping 2017/08/21
3 Karl Sleeping 2017/07/30
1 John Tired 2017/10/16
2 Mary Playing 2017/10/16
I'd like to get these results like below:
Id Name Event Date
1 John Running, Tired 2017/10/16
2 Mary Sleeping, Playing 2017/10/16
3 Karl Sleeping 2017/07/30
The Events records was showed ordered by the Event date Ascending.
In the end it should return the Max of date with all those events rows