PageUp interview question

How would you resolve an n+1 query