select a.* from T1 a where exists(
select 1 from T1 b where b.id=77 and b.starttime=a.starttime
and b.score=a.score and b.endtime=a.endtime);