select to_char(everyDay, 'yyyy-mm-dd') as dt, to_char(everyday, 'yyyy') as yr, to_char(everyday, 'mm') as mm, to_char(everyday, 'dd') as dd, to_char(everyday, 'dy') as dayofweek, /*ORACLE自定义的标准周*/ to_char(everyday, 'WW') as weeknum, /*该月的第几周*/ lpad(t…