From e7f473fcf48fbc214e5cfb1135a8746bfc82748b Mon Sep 17 00:00:00 2001 From: malong Date: Wed, 20 Nov 2019 13:44:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=80=E4=B9=88=E6=98=AF=E8=B6=85=E7=BA=A7?= =?UTF-8?q?=E8=A1=A8=20=E4=BA=8B=E4=BE=8B=E4=B8=AD=E7=9A=84where=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=AD=97=E6=AE=B5=E5=86=99=E9=94=99=E4=BA=86=EF=BC=8C?= =?UTF-8?q?name=E5=BA=94=E8=AF=A5=E6=94=B9=E4=B8=BAlocation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- documentation/webdocs/markdowndocs/Super Table-ch.md | 2 +- documentation/webdocs/markdowndocs/Super Table.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/webdocs/markdowndocs/Super Table-ch.md b/documentation/webdocs/markdowndocs/Super Table-ch.md index 9267e00a70..ee00eb1e86 100644 --- a/documentation/webdocs/markdowndocs/Super Table-ch.md +++ b/documentation/webdocs/markdowndocs/Super Table-ch.md @@ -218,7 +218,7 @@ GROUP BY location, type ```mysql SELECT COUNT(*), AVG(degree), MAX(degree), MIN(degree) FROM thermometer -WHERE name<>'beijing' and ts>=now-1d +WHERE location<>'beijing' and ts>=now-1d INTERVAL(10M) GROUP BY location, type ``` diff --git a/documentation/webdocs/markdowndocs/Super Table.md b/documentation/webdocs/markdowndocs/Super Table.md index 79a1650924..85c840f774 100644 --- a/documentation/webdocs/markdowndocs/Super Table.md +++ b/documentation/webdocs/markdowndocs/Super Table.md @@ -102,7 +102,7 @@ List the number of records, average, maximum, and minimum temperature every 10 m ```mysql SELECT COUNT(*), AVG(degree), MAX(degree), MIN(degree) FROM thermometer -WHERE name='beijing' and type=10 and ts>=now-1d +WHERE location='beijing' and type=10 and ts>=now-1d INTERVAL(10M) ```