You could use unnest
to open up the arrays and then array_agg
to put them back together:
select array_agg(c)
from (
select unnest(column_name)
from table_name
) as dt(c);
You could use unnest
to open up the arrays and then array_agg
to put them back together:
select array_agg(c)
from (
select unnest(column_name)
from table_name
) as dt(c);