select time ,result from( select time ,result ,lead(time)over(order by time asc) as next_time from t1 ) t1 where result=1 or (result=0 and next_time-time<=10)

相关推荐

02-22 21:16
已编辑
门头沟学院 运营
牛客928043833号:离了你谁还拿我当个宝
点赞 评论 收藏
分享
牛客网
牛客企业服务