Files
doris/docs/documentation/cn/sql-reference/sql-functions/spatial-functions/st_x.md
xy720 4c2a3d6da4 Merge Help document to documentation (#1586)
Help document collation (integration of help and documentation documents)
2019-08-07 21:31:53 +08:00

372 B

ST_X

description

Syntax

DOUBLE ST_X(POINT point)

当point是一个合法的POINT类型时,返回对应的X坐标值

example

mysql> SELECT ST_X(ST_Point(24.7, 56.7));
+----------------------------+
| st_x(st_point(24.7, 56.7)) |
+----------------------------+
|                       24.7 |
+----------------------------+

##keyword ST_X,ST,X