The ST_MaxY() and ST_MinY() functions

The ST_MaxY() and ST_MinY() functions return the maximum and minimum Y coordinates of a geometry.

Syntax

ST_MaxY(ST_Geometry)

ST_MinY(ST_Geometry)

Return type

DOUBLE PRECISION