1. Create a copy of the query.
  2. In the original query, take a random sampling of half the records.
  3. Merge the queries using the SUB operator. The original query is the Primary Query, and the random sampling query is the Secondary Query.