参考:如下?with t as(
select to_date('2014-02-14','yyyy-mm-dd') tdate,20 num_1 from dual
union all
select to_date('2014-02-17','yyyy-mm-dd') tdate,1 num_1 from dual
union all
select to_date('2014-02-18','yyyy-mm-dd') tdate,1 num_1 from dual
union all
select to_date('2014-02-19','yyyy-mm-dd') tdate,1 num_1 from dual
)
select to_char(tdate,'W'),sum(num_1) from t group by to_char(tdate,'W')