Skip to main content
Version: Latest-3.3

ST_Y

Description

If point is of a valid Point type, return the corresponding Y-coordinate value.

Syntax

DOUBLE ST_Y(POINT point)

Examples

MySQL > SELECT ST_Y(ST_Point(24.7, 56.7));
+----------------------------+
| st_y(st_point(24.7, 56.7)) |
+----------------------------+
| 56.7 |
+----------------------------+

keyword

ST_Y,ST,Y