当前位置:网站首页>一文读懂TDengine的窗口查询功能
一文读懂TDengine的窗口查询功能
2022-07-01 13:18:00 【InfoQ】
什么是窗口查询?
TDengine 提供的三种窗口查询能力详解
SELECT function_list FROM tb_name [WHERE where_condition] [SESSION(ts_col, tol_val)][STATE_WINDOW(col)] [INTERVAL(interval [, offset]) [SLIDING sliding]] [FILL({NONE | VALUE | PREV | NULL | LINEAR | NEXT})]SELECT function_list FROM stb_name [WHERE where_condition] [INTERVAL(interval [, offset]) [SLIDING sliding]] [FILL({NONE | VALUE | PREV | NULL | LINEAR | NEXT})] [GROUP BY tags]1. 等间隔窗口(interval)




2. 状态窗口(state_window)


3. 会话窗口(session)


总结
边栏推荐
- Idea of [developing killer]
- Apache-Atlas-2.2.0 独立编译部署
- ArrayList扩容机制以及线程安全性
- 香港科技大学李泽湘教授:我错了,为什么工程意识比上最好的大学都重要?
- 波浪动画彩色五角星loader加载js特效
- 1.8 new features list
- MySQL statistical bill information (Part 2): data import and query
- Report on the current situation and development trend of bidirectional polypropylene composite film industry in the world and China Ⓟ 2022 ~ 2028
- IO的几种模型 阻塞,非阻塞,io多路复用,信号驱动和异步io
- Feign & Eureka & zuul & hystrix process
猜你喜欢

启动solr报错The stack size specified is too small,Specify at least 328k

Build a vc2010 development environment and create a tutorial of "realizing Tetris game in C language"

Detailed explanation of OSPF LSA of routing Foundation

【机器学习】VAE变分自编码器学习笔记

The stack size specified is too small, specify at least 328k

MySQL 66 questions, 20000 words + 50 pictures in detail! Necessary for review

Chen Yu (Aqua) - Safety - & gt; Cloud Security - & gt; Multicloud security

焱融看 | 混合云时代下,如何制定多云策略
![[machine learning] VAE variational self encoder learning notes](/img/38/3eb8d9078b2dcbe780430abb15edcb.png)
[machine learning] VAE variational self encoder learning notes

nexus搭建npm依赖私库
随机推荐
Simple two ball loading
Spark source code reading outline
3.4 《数据库系统概论》之数据查询—SELECT(单表查询、连接查询、嵌套查询、集合查询、多表查询)
JS discolored Lego building blocks
Build a vc2010 development environment and create a tutorial of "realizing Tetris game in C language"
1. Sum of two numbers: given an integer array num and an integer target value, please find the two integers whose sum is the target value target in the array and return their array subscripts
网络中的listen
Yarn重启applications记录恢复
leetcode 322. Coin Change 零钱兑换(中等)
What is the future development direction of people with ordinary education, appearance and family background? The career planning after 00 has been made clear
Content Audit Technology
二传感器尺寸「建议收藏」
Hardware development notes (9): basic process of hardware development, making a USB to RS232 module (8): create asm1117-3.3v package library and associate principle graphic devices
内容审计技术
[Niu Ke's questions -sql big factory interview real questions] no2 User growth scenario (a certain degree of information flow)
声明一个抽象类Vehicle,它包含私有变量numOfWheels和公共函数Vehicle(int)、Horn()、setNumOfWheels(int)和getNumOfWheels()。子类Mot
A Fletter version of Notepad
机器学习总结(一):线性回归、岭回归、Lasso回归
7. Icons
Analysis report on the development pattern of China's smart emergency industry and the 14th five year plan Ⓠ 2022 ~ 2028