Returns a geometry collection containing all of the geometries in a group.
SELECT ST_GeomCollection::ST_GeomCollectionAggr( Shape ) FROM SpatialShapes WHERE Shape.ST_Is3D() = 0
SQL/MM (ISO/IEC 13249-3: 2006) Vendor extension