未验证 提交 6a559b56 编写于 作者: W wade zhang 提交者: GitHub

Merge pull request #17176 from taosdata/wangmm0220-patch-9-2

Update 04-opentsdb-json.mdx
...@@ -96,6 +96,9 @@ taos> select * from `meters.current`; ...@@ -96,6 +96,9 @@ taos> select * from `meters.current`;
Query OK, 2 row(s) in set (0.004076s) Query OK, 2 row(s) in set (0.004076s)
``` ```
## 查询示例 ## SQL查询示例
想要查询"tags": {"location": "California.LosAngeles", "groupid": 1} 的数据,可以通过如下sql: - `meters.voltage` 是插入数据的超级表名
- 可以通过超级表的tag来过滤数据,比如查询 `location=California.LosAngeles groupid=1` 可以通过如下sql:
``` cmd
select * from `meters.voltage` where location="California.LosAngeles" and groupid=1 select * from `meters.voltage` where location="California.LosAngeles" and groupid=1
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册