Select t1.ID, t1.TIME
from
TABLE_1 t1
JOIN TABLE_2 t2 ON t1.ID=t2.ID and t1.TIME = t2.TIME
Select t1.ID, t1.TIME
from
TABLE_1 t1
JOIN TABLE_2 t2 ON t1.ID=t2.ID
and to_char(t1.TIME, 'DD.MM.YYYY HH24') = to_char(t2.TIME, 'DD.MM.YYYY HH24')
... and trunc(t1.TIME, 'hh24') = trunc(t2.TIME, 'hh24')