2018年10月19日

sql 按年月日统计

摘要: 1、每年select year(ordertime) 年,sum(Total) 销售合计from 订单表group by year(ordertime)2、每月select year(ordertime) 年,month(ordertime) 月,sum(Total) 销售合计from 订单表gro 阅读全文

posted @ 2018-10-19 19:07 power_yu 阅读(1145) 评论(0) 推荐(0)

导航