sqlserver 分区函数去重复排序
--获取,FlowID去重复的,按时间排序的,前一行 select * from ( select *,row_number() over( partition by FlowID order by ConfirmDate asc ) as Sequence from Trade ) as T where T.Sequence<=1
搜索
复制
标签:重复,分区,sqlserver,FlowID,排序,select From: https://www.cnblogs.com/jankie1122/p/11109140.html