From 6bf44b6aa26fc29ffe5fcfaf0c07ee3b8f212bbd Mon Sep 17 00:00:00 2001 From: gccgdb1234 Date: Tue, 31 May 2022 16:11:26 +0800 Subject: [PATCH] docs: refine keywords in 3.0 --- docs-cn/12-taos-sql/12-keywords/index.md | 6 +++--- docs-en/12-taos-sql/12-keywords.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs-cn/12-taos-sql/12-keywords/index.md b/docs-cn/12-taos-sql/12-keywords/index.md index 0b9ec4de86..c6640b2f92 100644 --- a/docs-cn/12-taos-sql/12-keywords/index.md +++ b/docs-cn/12-taos-sql/12-keywords/index.md @@ -86,7 +86,7 @@ title: TDengine 参数限制与保留关键字 | CONNS | ID | NOTNULL | STABLE | WAL | | COPY | IF | NOW | STABLES | WHERE | | _C0 | _QSTART | _QSTOP | _QDURATION | _WSTART | -| _WSTOP | _WDURATION | +| _WSTOP | _WDURATION | _ROWTS | ## 特殊说明 ### TBNAME @@ -124,5 +124,5 @@ Query OK, 1 row(s) in set (0.001091s) ### _WSTART/_WSTOP/_WDURATION 窗口切分聚合查询(例如 interval/session window/state window)中表示每个切分窗口的起始,结束以及持续时间(从 2.6.0.0 版本开始支持) -### _c0 -表示表或超级表的第一列 \ No newline at end of file +### _c0/_ROWTS +_c0 _ROWTS 等价,表示表或超级表的第一列 \ No newline at end of file diff --git a/docs-en/12-taos-sql/12-keywords.md b/docs-en/12-taos-sql/12-keywords.md index 56a82a02a1..cbacf6cfc7 100644 --- a/docs-en/12-taos-sql/12-keywords.md +++ b/docs-en/12-taos-sql/12-keywords.md @@ -47,11 +47,11 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam | CONNS | ID | NOTNULL | STable | WAL | | COPY | IF | NOW | STableS | WHERE | | _C0 | _QSTART | _QSTOP | _QDURATION | _WSTART | -| _WSTOP | _WDURATION | +| _WSTOP | _WDURATION | _ROWTS | ## Explanations ### TBNAME -`TBNAME` can be considered as a special tag, which represents the name of the subtable, in STable. +`TBNAME` can be considered as a special tag, which represents the name of the subtable, in a STable. Get the table name and tag values of all subtables in a STable. ```mysql @@ -85,5 +85,5 @@ The start, stop and duration of a query time window (Since version 2.6.0.0). ### _WSTART/_WSTOP/_WDURATION The start, stop and duration of aggegate query by time window, like interval, session window, state window (Since version 2.6.0.0). -### _c0 -The first column of a table or STable. \ No newline at end of file +### _c0/_ROWTS +_c0 is equal to _ROWTS, it means the first column of a table or STable. \ No newline at end of file -- GitLab