select workid,recdate, rectime, time4 from (select *, count(1) over(PARTITION by recdate ) num from T0916 ) a where a.num>=2 and a.rectime=a.time4