Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SELECT AVG(variable) AS Expr1, SUM(variable) AS Expr2 FROM ......
AVG 的结果是 2,但它不是真的,它必须是 2.95。有什么问题,有什么想法吗?
尝试
Select AVG(Cast(variable as Float)), SUM(variable) From Table