Having a table named example_table with one column named example_column of type JSONB and every value in the column being an array.
Having the values in 2 rows be: [1, 2] and [3]
How can I aggregate-concatenate the values in example_column?
The result should be: [1, 2, 3]
I tried using:
select json_agg(example_column) from example_table
but that returns [[1, 2,], [3]]