SELECT AVG(variable) AS Expr1, SUM(variable) AS Expr2
FROM ......
AVG 的结果是 2,但它不是真的,它必须是 2.95。有什么问题,有什么想法吗?
请您参考如下方法:
尝试
Select
AVG(Cast(variable as Float)),
SUM(variable)
From
Table
SELECT AVG(variable) AS Expr1, SUM(variable) AS Expr2
FROM ......
请您参考如下方法:
尝试
Select
AVG(Cast(variable as Float)),
SUM(variable)
From
Table