根据群体和infuxdB获取行
我是InfuxDB的新手,并试图解决查询。我需要根据field3列进行基于组的行并计算不到300的地方。我已经写了SQL,但无法从InfluxDB获取任何数据。
从powerandlevel到time>现在()-10m组由field3组为count< 300
预先感谢。
I'm new at influxDB and trying to solve a query. Where I need to fetch rows based on group by field3 columns and having should count less than 300. I've written it in SQL but not able to fetch any data from influxDB.
select count(field1), count(field2) from powerandlevel where time > now()-10m group by field3 having count < 300
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论