2018年6月14日

SQL分组查询

摘要: --按半年分组查询数据SELECT SUM(CONVERT(DECIMAL(18,2),TradeArea)) SumArea,SUM(convert(decimal(18,2),TradeTotalPrice)) SumPrice,COUNT(KeyId) AS HouserNumber,LEFT 阅读全文

posted @ 2018-06-14 11:15 梨窝★浅笑 阅读(272) 评论(0) 推荐(0) 编辑

导航