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.
可能重复: 舍入数字的准确性
我有以下要求-
这需要用 SQL 编写。你认为下面的查询会有任何舍入错误吗?
SELECT ROUND ( (SUM(A_MINUTES)/60.0) , 2) FROM TABLEA
如果点 3.Sum 要考虑的小时值,则缺少一个 SUM 函数。
SELECT ROUND ( SUM(SUM(A_MINUTES)/60.0) , 2) FROM TABLEA