How to GROUP BY and CONCATENATE fields in redshift How to GROUP BY and CONCATENATE fields in redshift postgresql postgresql