Skip to main content
Return the X coordinate of a point geometry. SQL reference: ST_X

Signature

Parameters

ColumnOrName
required
Point geometry column to get the coordinate for.

Returns

Column
X coordinate of the point geometry as a double column.