Valores da coluna SQL separados por vírgula

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