emulating oracle LIMIT and OFFSET in a consistent way