Skip to content
Advertisement

Output array type column

I have a table like so –

How do I output this result –

Advertisement

Answer

For an array, you would use array_agg():

If you want the value as a comma-sseparated string:

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement