ST_EQUALS
Returns a geometry representing the difference between two geometries. The result contains points from the first geometry that are not in the second.
Syntax
ST_EQUALS(g1,g2)Description
Examples
SET @g1 = ST_GEOMFROMTEXT('LINESTRING(174 149, 176 151)');
SET @g2 = ST_GEOMFROMTEXT('LINESTRING(176 151, 174 149)');
SELECT ST_EQUALS(@g1,@g2);
+--------------------+
| ST_EQUALS(@g1,@g2) |
+--------------------+
| 1 |
+--------------------+Last updated
Was this helpful?

