ST_Y
Returns the Y-coordinate of a Point geometry. This function extracts the vertical coordinate value as a double-precision number.
Syntax
ST_Y(p)
Y(p)Description
Examples
SET @pt = 'Point(56.7 53.34)';
SELECT Y(GeomFromText(@pt));
+----------------------+
| Y(GeomFromText(@pt)) |
+----------------------+
| 53.34 |
+----------------------+Last updated
Was this helpful?

