Update 06-select.md

This commit is contained in:
Xiaoyu Wang 2022-08-11 17:16:09 +08:00 committed by GitHub
parent a96193cfc6
commit 7ee1a87f20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ taos> SELECT ts, ts AS primary_key_ts FROM d1001;
获取一个超级表所有的子表名及相关的标签信息:
```mysql
SELECT TBNAME, location FROM meters;
SELECT DISTINCT TBNAME, location FROM meters;
```
统计超级表下辖子表数量: