Reduce the number of records in the query results