摘要: -- ROUND截取小数点2位 ROUND(SUM(pay_mony),2) -- IFNULL判断是否为空,并替换为空数据 IFNULL(totalmoney,0) -- date_format(date ,'%Y-%m-%d' ) SELECT asset_state `name`, COUNT 阅读全文
posted @ 2020-07-18 19:53 kuangwl 阅读(149) 评论(0) 推荐(0) 编辑