我试图执行sql:
select last(*) from mytable where index=index-1描述mytable:
Field | Type | Length | Note |
=================================================================================
ts | TIMESTAMP | 8 | |
gauge | DOUBLE | 8 | |
index | NCHAR | 11 | TAG |结果发生错误:
Invalid operation发布于 2022-02-27 10:16:41
索引是nchar类型,因此您应该将SQL更改为
select last(*) from mytable where index='some_value';https://stackoverflow.com/questions/71260359
复制相似问题