From 59d94ceda02bd7d6ca6a36733608b2e2909a9471 Mon Sep 17 00:00:00 2001 From: xieyinglin <41858839+xieyinglin@users.noreply.github.com> Date: Tue, 15 Oct 2019 16:10:39 +0800 Subject: [PATCH] update english single quote and =< to <= update english single quote and less than or equal to <= --- documentation/webdocs/markdowndocs/Super Table-ch.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/webdocs/markdowndocs/Super Table-ch.md b/documentation/webdocs/markdowndocs/Super Table-ch.md index e26149d814..9267e00a70 100644 --- a/documentation/webdocs/markdowndocs/Super Table-ch.md +++ b/documentation/webdocs/markdowndocs/Super Table-ch.md @@ -30,7 +30,7 @@ CREATE TABLE USING TAGS (tag_value1,...) 沿用上面温度计的例子,使用超级表thermometer建立单个温度计数据表的语句如下: ```mysql -create table t1 using thermometer tags (‘beijing', 10) +create table t1 using thermometer tags ('beijing', 10) ``` 上述SQL以thermometer为模板,创建了名为t1的表,这张表的Schema就是thermometer的Schema,但标签location值为'beijing',标签type值为10。 @@ -77,13 +77,13 @@ STable从属于库,一个STable只属于一个库,但一个库可以有一 - 查看属于某STable并满足查询条件的表 ```mysql - SELECT TBNAME,[TAG_NAME,…] FROM WHERE <[=|=<|>=|<>] values..> ([AND|OR] …) + SELECT TBNAME,[TAG_NAME,…] FROM WHERE <[=|<=|>=|<>] values..> ([AND|OR] …) ``` 查看属于某STable并满足查询条件的表。说明:TBNAME为关键词,显示通过STable建立的子表表名,查询过程中可以使用针对标签的条件。 ```mysql - SELECT COUNT(TBNAME) FROM WHERE <[=|=<|>=|<>] values..> ([AND|OR] …) + SELECT COUNT(TBNAME) FROM WHERE <[=|<=|>=|<>] values..> ([AND|OR] …) ``` 统计属于某个STable并满足查询条件的子表的数量 @@ -221,4 +221,4 @@ FROM thermometer WHERE name<>'beijing' and ts>=now-1d INTERVAL(10M) GROUP BY location, type -``` \ No newline at end of file +```