------解决方案--------------------
select m.* , n.* from ( select * , (select count(1) from tb where 用户ID = t.用户ID and 金额 = t.金额 and 时间 < t.时间) + 1 px from tb t ) m, ( select * , (select count(1) from tb where 用户ID = t.用户ID and 金额 = t.金额 and 时间 < t.时间) + 1 px from tb t ) n where m.用户ID = n.用户ID and m.金额 = n.金额 and m.px = n.px - 1 and (n.时间 - m.时间) * 24 * 60 * 60 <= 60