假设有表TableA,字段为FieldA, FieldB,查询第10到20条记录,SQL如下:

select *
from
    (
        select row_number() over(order by FieldA) as RowNum, *
        from
            TableA
    ) t
where
  t.RowNum between 10 and 20

相关文章:

  • 2021-11-13
  • 2021-12-28
  • 2021-09-16
  • 2021-06-29
  • 2021-08-26
猜你喜欢
  • 2021-11-12
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-05-31
  • 2021-10-08
相关资源
相似解决方案