MS SQLSERVER
select sum(金额) from money group by left(Convert.ToChar(时间),10)
ORACLE
select sum(金额) from money group by To_Char(时间,"YYYY-MM-DD")
select sum(金额) from money group by left(Convert.ToChar(时间),10)
ORACLE
select sum(金额) from money group by To_Char(时间,"YYYY-MM-DD")
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货