1. Break the query into smaller groups