ccuc

思路:越过多少条 取多少条

例子
select top(5) * from city where cityID not in (select top((2-1)*5) cityID from city order by cityID desc) order by cityID desc
// 每页查询5条 在城市列表 条件是 id不在 (当前页-1)*每页条数 内的 按照id 逆序排列

分类:

技术点:

相关文章:

  • 2021-11-12
  • 2021-10-17
  • 2021-06-29
  • 2022-12-23
  • 2021-11-13
  • 2021-11-03
  • 2021-11-13
猜你喜欢
  • 2021-11-13
  • 2021-12-28
  • 2021-11-13
  • 2021-12-28
  • 2021-12-18
相关资源
相似解决方案