oracle 分页查询三层嵌套

xiaoxiao2026-04-15  5

select b.* from ( --第二层:给定行号 select rownum r,a.* from ( --第一层:排序 select * from (select t.* from 表 t order by 排序字段 desc) ) a where rownum <= 最大行 )b where b.r between 最小行 and 最大行
转载请注明原文地址: https://www.6miu.com/read-5047382.html

最新回复(0)