ST_Union(g1, g2)

Returns a geometry that represents the point set union of the geometry
values g1 and g2. If any argument is NULL, the return value is NULL.

URL: https://dev.mysql.com/doc/refman/5.7/en/spatial-operator-functions.html

