Is it possible to somehow organize the possibility of outputting part of a query from n to m position as well as it is implemented in mysql by adding to the request limit n, m?
There is a solution to wrap in several queries, but not suitable because of the load on the subd such queries with "medium-sized" tables:
select * from (select rownum as rn,* from ... where ...) d where d.rn between n and m
And the scan shows that the subquery is all stored in memory. Is it possible to somehow substitute n and m in the first request (nested)?