5. Geospatial Functions : Y
 
Share this page                  
Y
Y(p POINT)
Alias: ST_Y
Returns the Y-coordinate of p.
Result type: float
Example:
SELECT Y(POINTFROMTEXT('POINT(5 10)'));
-------------
col1
-------------
10.000
-------------