Back to Starrocks

ST_Y

docs/en/sql-reference/sql-functions/spatial-functions/st_y.md

4.1.0394 B
Original Source

ST_Y

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

Syntax

Haskell
DOUBLE ST_Y(POINT point)

Examples

Plain
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