demo:

 

select * from ( select * from DEV_REG_CFG_CAMERA where 1 = 1 order by unid asc) where rownum < 3001 minus select * from ( select * from DEV_REG_CFG_CAMERA where 1 = 1 order by unid asc) where rownum < 1

 

minus是差集的意思,、

 

以上sql的意思是,查询DEV_REG_CFG_CAMERA中以unid字段排序后,取前3000条。

相关文章:

  • 2021-05-02
  • 2021-09-05
  • 2021-12-18
  • 2021-12-18
猜你喜欢
  • 2021-11-03
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2021-10-09
相关资源
相似解决方案