Since the set of potential queries is infinite, we approximate Z tot as a set of non-nested SQL queries with at most three conditions.
4 given A as a set of aggregating operators {sum, mean, max, min, count} and C as a set of where f is an SQL executor.