to_date(to_char(Tbale1.date, 'yyyymmdd') || to_char(Tbale1.time, 'hh24miss'), 'yyyymmddhh24miss') > to_date(Table2.datetime, 'yyyymmddhh24miss')