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
ST_Geometry 值用来确定其 x 值。
DOUBLE 返回 ST_Geometry 值的 x 坐标。
SQL/MM (ISO/IEC 13249-3: 2006) 6.1.3
以下示例返回结果 10.0。
10.0
SELECT ST_X(ST_Point(10.0,20.0,4326))