VeloDB Cloud
SQL Manual
Functions
spatial-functions
ST_Y

ST_Y

Description

Syntax:

DOUBLE ST_Y(POINT point)

If point is a valid POINT type, this function will return the corresponding Y coordinate value.

Example

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

Keywords

ST_Y,ST,Y