Oracle数据库查询分页数据SQL语句:
select * from (select a.*,rownum row_num from (select * from mytable t order by t.id desc) a ) b where b.row_num between 1 and 10
时间: 2024-10-11 00:34:22
Oracle数据库查询分页数据SQL语句:
select * from (select a.*,rownum row_num from (select * from mytable t order by t.id desc) a ) b where b.row_num between 1 and 10