611
社区成员
发帖
与我相关
我的任务
分享select substr(tjdate,1,7),sum(costtime) from clrtj where ny>='2011-11-01' and ny<='2011-11-31' group by substr(tjdae,1,7)
或者:
select substr(tjdate,1,7) as yf ,sum(costtime) from clrtj where ny>='2011-11-01' and ny<='2011-11-31' group by yf