sql string_agg
SELECT STRING_AGG(columnName,',') from tableName
Envious Earthworm
SELECT STRING_AGG(columnName,',') from tableName