The ST_MaxX() and ST_MinX() functions

The ST_MaxX() and ST_MinX() functions return the maximum and minimum X coordinates of a geometry.

Syntax

ST_MaxX(ST_Geometry)

ST_MinX(ST_Geometry)

Return type

DOUBLE PRECISION