2014年12月10日

SQL 数据统计方法

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

posted @ 2014-12-10 15:07 shengfa 阅读(342) 评论(0) 推荐(0)

导航