2018年12月13日
摘要: ```code 1、每年 select year(ordertime) 年, sum(Total) 销售合计 from 订单表 group by year(ordertime) 2、每月 select year(ordertime) 年, month(ordertime) 月, sum(Total) 销售合计 from 订单表 group by year(ordertime), month(or... 阅读全文
posted @ 2018-12-13 14:01 雪夜 阅读(271) 评论(0) 推荐(0) 编辑