Group by a column but concat another column with comma delimited
I have a table with company_name and RegistrationId column.
How to write a query so that I can do group by company_name but concatenate all values of RegistrationId into a string column (say AllIDs) with comma like 123,456,789?