Skip to content

Returns the latitude (Y coordinate) of a Point represented by a GEOMETRY object.

ST_Y(<geometry>)
ArgumentsDescription
<geometry>The argument must be an expression of type GEOMETRY and must contain a Point.

Double.

SELECT
ST_Y(
ST_MAKEGEOMPOINT(
37.5, 45.5
)
) AS pipeline_y;
┌────────────┐
│ pipeline_y │
├────────────┤
45.5
└────────────┘