1 select sum(SHOW_NUMBER) as SHOW_NUMBER ,d.dt2 from T_RECOMMEND_ANALYSIS t,(3 select to_date('2018-06-08','yyyy-MM-dd') - (level-1) * 7 dt 4 from dual connect by level <=15) d5 where t.CREATE_TIME
按照时间7天进行分组
本文共 301 字,大约阅读时间需要 1 分钟。
1 select sum(SHOW_NUMBER) as SHOW_NUMBER ,d.dt2 from T_RECOMMEND_ANALYSIS t,(3 select to_date('2018-06-08','yyyy-MM-dd') - (level-1) * 7 dt 4 from dual connect by level <=15) d5 where t.CREATE_TIME
按照时间7天进行分组
转载于:https://www.cnblogs.com/zxf330301/p/9156620.html