declare @PageIndex as int
declare @PageSize as int
set @PageIndex = 4648
set @PageSize = 20

SELECT *
FROM
(SELECT ROW_NUMBER() OVER (ORDER BY pro_id DESC)AS Row, * FROM products_data) as list
WHERE Row between (@PageIndex - 1) * @PageSize + 1 and @PageIndex*@PageSize 

相关文章:

  • 2022-02-04
  • 2022-02-19
  • 2022-01-04
  • 2021-06-15
  • 2022-12-23
  • 2021-06-01
  • 2021-11-12
  • 2022-02-23
猜你喜欢
  • 2022-01-11
  • 2021-10-17
  • 2021-09-20
  • 2022-12-23
  • 2021-09-02
  • 2021-08-23
  • 2022-02-28
相关资源
相似解决方案