Returns the bounding rectangle for all of the geometries in a group
SELECT ST_Geometry::ST_EnvelopeAggr( Shape ) FROM SpatialShapes
SQL/MM (ISO/IEC 13249-3: 2006) Vendor extension