array_agg function in postgresql code example Example: postgresql string_agg STRING_AGG ( expression, separator [order_by_clause] )