如下图,ID列指定的值对应的其他三个列相同的值包含的其他ID列全部显示
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);