sql查询出来的数字小数点过长怎么保留两位小数

如题所述

参考:

SELECT ProductName, ROUND(UnitPrice,2) as UnitPrice FROM Products

单位价格保留两位小数,用round函数
温馨提示:答案为网友推荐,仅供参考
相似回答