摘要: SELECT a.team,MIN(Y),MAX(Y) from (SELECT ROW_NUMBER() OVER(ORDER BY team,Y) AS RN,* FROM t) AS a GROUP BY a.team,Y-a.RN HAVING COUNT(Y)>1 阅读全文
posted @ 2020-06-24 17:30 最萌小胡胡 阅读(623) 评论(0) 推荐(1) 编辑