--按年统计 SELECT year(CreationTime) 年次, count(1) 销售次数, sum(Num) 销售量 FROM Orders GROUP BY year(CreationTime)