oracle按周分组跨年不正确怎么解决,我用的
select to_char(exportDate,'yyyy-IW'),sum(amount) from table1 group by to_char(exportDate,'yyyy-IW')
order by to_char(exportDate,'yyyy-IW');
结果2011-12-26到2011-12-31 应该是2011-12-26到2012-01-01
这个问题怎么解决啊
select to_char(exportDate,'yyyy-IW'),sum(amount) from table1 group by to_char(exportDate,'yyyy-IW')
order by to_char(exportDate,'yyyy-IW');
结果2011-12-26到2011-12-31 应该是2011-12-26到2012-01-01
这个问题怎么解决啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货