Skip to main content

ST_Y

Introduced or updated: v1.2.458

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

Syntax

ST_Y(<geometry>)

Arguments

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

Return Type

Double.

Examples

SELECT
ST_Y(
ST_MAKEGEOMPOINT(
37.5, 45.5
)
) AS pipeline_y;

┌────────────┐
│ pipeline_y │
├────────────┤
45.5
└────────────┘
Did this page help you?
Yes
No
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today