Move LIMIT and OFFSET in a subrequest