Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Returns the y coordinate of the ST_Geometry value.
.ST_Y(geo1)
ST_Geometry
The ST_Geometry value from which to determine the y coordinate.
DOUBLE Returns the y coordinate of the ST_Geometry value.
The following example returns the result 20.0:
20.0
SELECT ST_Y(ST_Point(10.0,20.0,4326))