【发布时间】:2016-06-03 10:35:55
【问题描述】:
我是 influxdb 的新手。我刚开始阅读 influx 文档。
我似乎无法让 'select count(*) from table' 等价物在 influx db 中工作。
我有一个名为购物车的度量:
time status cartid
1456116106077429261 0 A
1456116106090573178 0 B
1456116106095765618 0 C
1456116106101532429 0 D
但是当我尝试这样做时
select count(cartid) from cart
我得到了错误
ERR: statement must have at least one field in select clause
【问题讨论】:
标签: influxdb