ST_Collect
Signature
Parameters
Either a single geometry column that holds an array of geometries or multiple geometry columns.
Collect multiple geometry columns or an array of geometries into a single multi-geometry or geometry collection.
ST_Collect