psql string_agg as aggregate code example Example: postgresql string_agg STRING_AGG ( expression, separator [order_by_clause] )