I have a table that has a list of events. I would like to join the unit values from multiple rows into one column for display purposes based on a unique value, "incident".
Current data:
Date Time Incident Unit
1/1 1200 1234 101
1/1 1200 1234 102
How I would like to display it:
Date Time Incident Unit
1/1 1200 1234 101, 102
I am using mysql/php.
Thanks!