摘要: 按年汇总,统计:select sum(mymoney) as totalmoney, count(*) as sheets from mytable group by date_format(col, '%Y');按月汇总,统计: select sum(mymoney) as totalmoney, 阅读全文
posted @ 2019-01-08 13:49 FreeSpider 阅读(466) 评论(0) 推荐(0) 编辑