Skip to content

Commit c0522a1

Browse files
committed
improve
1 parent c5cf91e commit c0522a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

201711/20171129_01.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ WINDOW two_days AS (ORDER BY date ASC ROWS 1 PRECEDING);
142142
```
143143

144144
## 窗口、帧 语法
145+
帧,指定记录范围,如果只指定了开始,则开始记录到当前记录表示一帧,统计基于这个窗口的话,就是基于这个帧的范围数据进行统计。
146+
147+
窗口,指整个窗口(over partition)范围进行统计。
145148

146149
A window function call represents the application of an aggregate-like function over some portion of
147150
the rows selected by a query.

0 commit comments

Comments
 (0)