SQL String_agg

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