select *
from Production.Product
where ProductID in (
 select ProductID
 from (
  select ProductID,
   ROW_NUMBER() OVER(ORDER BY ProductID) as nid
  from Production.Product
 ) as tid
 where nid between 21 and 50
)
go

相关文章:

  • 2021-08-10
  • 2021-11-27
  • 2022-01-29
  • 2021-11-27
  • 2022-01-22
  • 2021-11-12
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-03-05
  • 2021-08-20
  • 2021-12-13
相关资源
相似解决方案