来自于:苦痛自渡~冷暖自知—本周select from 表 where time > sysdate - (to_char(sysdate-1,’D’))—本月select from 表 where time>=TRUNC(SYSDATE, ‘MM’) and time<=last_day(SYSDATE)—本年select * from 表 where to_char(time,’yyyy’)=to_char(sysdate,’yyyy’)