今天刚刚看到,没有测试性能。SELECT * FROM (select ROW_NUMBER() Over(order by CreditCardID) as rowNum, *from Sales.CreditCard) as tablewhere rowNum> 0 and rowNum