0

I tried the method :

STRING_AGG(cast(client.nom as varchar(1000)), '
                ')

In order to produce a line break when exporting my query results to CSV.

This doesn't give me only one line break, but at least 5 for each record.

How to make a single line break between each record in a "string_agg" on PostgreSQL?

Thank you.

4

0 回答 0