@Bluesand
select to_char( last_day(add_months(sysdate,-8))+1,'yyyy-mm-dd')日期,
to_char( last_day(add_months(sysdate,-8))+1,'DAY') 星期几 from dual
union
select to_char( last_day(add_months(sysdate,-7))+1,'yyyy-mm-dd')日期,
to_char( last_day(add_months(sysdate,-7))+1,'DAY') 星期几 from dual
union
select to_char( last_day(add_months(sysdate,-6))+1,'yyyy-mm-dd')日期,
to_char( last_day(add_months(sysdate,-6))+1,'DAY') 星期几 from dual
union
select to_char( last_day(add_months(sysdate,-5))+1,'yyyy-mm-dd')日期,
to_char( last_day(add_months(sysdate,-5))+1,'DAY') 星期几 from dual
回复 更多评论