ST_Union(g1, g2)

Returns a geometry that represents the point set union of the geometry
values g1 and g2.

ST_Union() handles its arguments as described in the introduction to
this section.

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

