Using a common table expression with row_number() to partition by AccountId and order by [RowId] : ;with cte as ( select * , NewOrderId ...
確定! 回上一頁