chenmz1995
select ROUND(IFNULL(column1 * 1.0 / column, 0), 4) from tablename

以上代码意思两列相处,然后保留4位小数。

分类:

技术点:

相关文章: