当前位置:网站首页>一文读懂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)


总结
边栏推荐
- Global and Chinese silicone defoamer production and marketing demand and investment forecast analysis report Ⓨ 2022 ~ 2027
- 香港科技大学李泽湘教授:我错了,为什么工程意识比上最好的大学都重要?
- 啟動solr報錯The stack size specified is too small,Specify at least 328k
- 彩色五角星SVG动态网页背景js特效
- 3.4 《数据库系统概论》之数据查询—SELECT(单表查询、连接查询、嵌套查询、集合查询、多表查询)
- Google Earth Engine(GEE)——全球人类居住区网格数据 1975-1990-2000-2014 (P2016)
- The stack size specified is too small, specify at least 328k
- 受益互联网出海 汇量科技业绩重回高增长
- French Data Protection Agency: using Google Analytics or violating gdpr
- 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
猜你喜欢
SVG钻石样式代码
Judea pearl, Turing prize winner: 19 causal inference papers worth reading recently
La taille de la pile spécifiée est petite, spécifiée à la sortie 328k
Fiori applications are shared through the enhancement of adaptation project
孔松(信通院)-数字化时代云安全能力建设及趋势
【牛客刷题-SQL大厂面试真题】NO2.用户增长场景(某度信息流)
minimum spanning tree
详细讲解面试的 IO多路复用,select,poll,epoll
The future of game guild in decentralized games
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
随机推荐
MySQL Replication中的并行复制示例详解
ArrayList扩容机制以及线程安全性
1553B环境搭建
内容审计技术
La taille de la pile spécifiée est petite, spécifiée à la sortie 328k
简单的两个圆球loading加载
单工,半双工,全双工区别以及TDD和FDD区别
9. Use of better scroll and ref
Shangtang technology crash: a script written at the time of IPO
spark源码阅读总纲
LeetCode重建二叉树详解[通俗易懂]
Application of 5g industrial gateway in scientific and technological overload control; off-site joint law enforcement for over limit, overweight and overspeed
Machine learning - performance metrics
龙蜥社区开源 coolbpf,BPF 程序开发效率提升百倍
洞态在某互联⽹⾦融科技企业的最佳落地实践
Some summary of pyqt5 learning (overview of the general meaning of some signals and methods)
5G工业网关的科技治超应用 超限超重超速非现场联合执法
研发效能度量框架解读
启动solr报错The stack size specified is too small,Specify at least 328k
Flow management technology