SELECT * FROM TIME_TABLE
WHERE TIME >= trunc(add_months(sysdate,-1), 'MONTH')
and TIME < trunc(sysdate, 'MONTH')