oracle8.1.6 sysdate between to_date(attributes.release_date, 'YYYY-MM-DD') and to_date(attributes.archive_date, 'YYYY-MM-DD') sysdate >= to_date(attributes.archive_date, 'YYYY-MM-DD') to_date(attributes.release_date, 'YYYY-MM-DD') desc