Update 03-package.md (#21634)

typo fix
This commit is contained in:
CubicTec 2023-06-07 11:58:54 +08:00 committed by GitHub
parent 2ea92df895
commit 5dfef96fec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ SELECT COUNT(*) FROM test.meters WHERE location = "California.SanFrancisco";
SELECT AVG(current), MAX(voltage), MIN(phase) FROM test.meters WHERE groupId = 10; SELECT AVG(current), MAX(voltage), MIN(phase) FROM test.meters WHERE groupId = 10;
``` ```
对表 `d10` 按 10 秒进行平均值、最大值和最小值聚合统计: 对表 `d10` 10 秒进行平均值、最大值和最小值聚合统计:
```sql ```sql
SELECT FIRST(ts), AVG(current), MAX(voltage), MIN(phase) FROM test.d10 INTERVAL(10s); SELECT FIRST(ts), AVG(current), MAX(voltage), MIN(phase) FROM test.d10 INTERVAL(10s);