Thanks, Kim. Changes look good to me. But this observation by Tiago was the reason we kept
DERBY-4518 open, I believe:
"I couldn't find an example under "The result offset and fetch first clauses" that demonstrates the use of OFFSET within sub-queries. There is an example under "Duplicates in UNION, INTERSECT, and EXCEPT ALL results" but at least to me, that wouldn't be the first logical place I'd visit to find examples of OFFSET usage on sub-queries."
Perhaps it might be good to to point to the example of use in sub-queries from "The result offset and fetch first clauses" section's examples, or make another one there?