select px=row_number()over(partition by BatchTitle order by(select 1)),* from C_ImportBatch
以BatchTitle 来重排序,取得px=1的就是去重复后的。
select px=row_number()over(partition by BatchTitle order by(select 1)),* from C_ImportBatch
以BatchTitle 来重排序,取得px=1的就是去重复后的。