提交 522fbb0f 编写于 作者: X Xiaoyu Wang

docs: fix event window doc

上级 f6776e1c
...@@ -171,7 +171,7 @@ If you want to perform event window based query on the result set of a sub-query ...@@ -171,7 +171,7 @@ If you want to perform event window based query on the result set of a sub-query
For example, the diagram below illustrates the event windows generated by the query below: For example, the diagram below illustrates the event windows generated by the query below:
```sql ```sql
select _wstart, _wend, count(*) from t start with c1 > 0 end with c2 < 10 select _wstart, _wend, count(*) from t event_window start with c1 > 0 end with c2 < 10
``` ```
![Event Window Illustration](./event_window.webp) ![Event Window Illustration](./event_window.webp)
......
...@@ -163,7 +163,7 @@ SELECT COUNT(*), FIRST(ts) FROM temp_tb_1 SESSION(ts, tol_val); ...@@ -163,7 +163,7 @@ SELECT COUNT(*), FIRST(ts) FROM temp_tb_1 SESSION(ts, tol_val);
以下面的 SQL 语句为例,事件窗口切分如图所示: 以下面的 SQL 语句为例,事件窗口切分如图所示:
```sql ```sql
select _wstart, _wend, count(*) from t start with c1 > 0 end with c2 < 10 select _wstart, _wend, count(*) from t event_window start with c1 > 0 end with c2 < 10
``` ```
![TDengine Database 事件窗口示意图](./event_window.webp) ![TDengine Database 事件窗口示意图](./event_window.webp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册