I have a table with multiple rows/records with a different json value. I would like to group by and concatenate those into a final single row, as part of a select query
Id Col
1 {'a': 1}
1 {'b': 2}
2 {'c': 3}
2 {'d': 4}
2 {'e': 5}
Desired Output
Id Col
1 {'a': 1, 'b': 2}
2 {'c': 3, 'd': 4, 'e': 5}