select distinct trunc(trunc(sysdate)-level,'IW') my_date
from dual
where trunc() >=trunc(sysdate)-200
connect by level<=200
区间分割
判断某个数在前十、中十、后十
trunc((x-1)/10)*10+1 and trunc((x-1)/10)*10+1 0
select distinct trunc(trunc(sysdate)-level,'IW') my_date
from dual
where trunc() >=trunc(sysdate)-200
connect by level<=200
区间分割
判断某个数在前十、中十、后十
trunc((x-1)/10)*10+1 and trunc((x-1)/10)*10+1 0