SyntaxFix
Write A Post
Hire A Developer
Questions
If you are on Amazon Redshift, where string_agg is not supported, try using listagg.
SELECT company_id, listagg(EMPLOYEE, ', ') as employees FROM EMPLOYEE_table GROUP BY company_id;