oracle8.1.6 select trunc(sysdate - max(nvl(modified_date, insertion_date))) from robots