查询时报错:Two objects in an expression must be connected by an operator.

t = table(1..5 as `202120, 1..5 as value)
select round(202120, 4) 202120 from t
请先 登录 后评论

1 个回答

Juntao Wang
t = table(1..5 as `202120, 1..5 as value)
select round(202120, 4) 202120 from t // 错误
select round(_"202120", 4) `202120 from t // 正确

查询时,如果数字开头列名,需要使用_这种方式。

请先 登录 后评论