Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回 ST_Geometry 值的 x 坐标。
ST_X(geo1)
geo1
ST_Geometry
确定 x 坐标所基于的 ST_Geometry 值。
DOUBLE 返回 ST_Geometry 值的 x 坐标。
以下语句返回结果 10.0:
10.0
SELECT ST_X(ST_Point(10.0,20.0,4326))