Row limit issue

This question has an answer to pull data in multiple set but not sure how to join them