输入banner图图片脚本导航/分类

MySQL统计百分比结果

*) AS totalCount FROM dw_audit WHERE data_level = #{dataLevel} AND task_type = #{taskType}) AS totalTable, (SELECT COUNT(*) AS errorCount FROM dw_audit WHERE data_level = #{dataLevel} AND task_type = #{taskType} AND task_state = #{taskState}) AS errorTable

2,带小数点的百分比

CONCAT(ROUND(a.cnt / b.cntSum * 100, 2),‘‘,‘%‘)

MySQL统计百分比结果

标签:ring   keyword   round   string   tab   style   from   code   alc