ST_Y — Returns the Y coordinate of a Point.
float ST_Y(geometry  a_point);
Return the Y coordinate of the point, or NULL if not available. Input must be a point.
![]()  | |
To get the minimum and maximum Y value of geometry coordinates use the functions ST_YMin and ST_YMax.  | 
            
            This method implements the OGC Simple Features
            Implementation Specification for SQL 1.1.
        
            
            This method implements the SQL/MM specification.
        
SQL-MM 3: 6.1.4
            
            This function supports 3d and will not drop the z-index.