\set ECHO none add_provenance (1 row) create_provenance_mapping (1 row) remove_provenance (1 row) q|dept|n|b min < 60|1|6|t min < 60|2|6|t (2 rows) remove_provenance (1 row) q|dept|n|b sum < 60|1|6|t sum < 60|2|0|f (2 rows) remove_provenance (1 row) q|dept|n|b min filter < 60|1|6|t min filter < 60|2|6|t (2 rows) remove_provenance (1 row) q|dept|n|b count filter >= 1|1|6|t count filter >= 1|2|6|t (2 rows) add_provenance (1 row) create_provenance_mapping (1 row) remove_provenance (1 row) q|g|n|b bool_and|1|6|t (1 row) remove_provenance (1 row) q|g|n|b min over text|1|6|t (1 row) add_provenance (1 row) WARNING: ProvSQL: a condition on an aggregate whose group has rows it reads no value from (a NULL argument, a row its FILTER leaves out) is evaluated without those rows, which is the provenance of the condition only in a Boolean algebra: the joint enumeration that takes them in does not read this aggregate, or the group is too large for it remove_provenance (1 row) q|n|b too large|1|t (1 row) add_provenance (1 row) create_provenance_mapping (1 row) remove_provenance (1 row) q|g|n|b sum IS NULL|1|3|t sum IS NULL|2|0|f (2 rows) remove_provenance (1 row) q|g|n|b sum IS NOT NULL|1|0|f sum IS NOT NULL|2|6|t (2 rows) remove_provenance (1 row) q|n|b scalar max IS NULL|0|f (1 row) add_provenance (1 row) add_provenance (1 row) create_provenance_mapping (1 row) create_provenance_mapping (1 row) remove_provenance (1 row) q|d|n|b name = 30 OR EXISTS|1|6|t name = 30 OR EXISTS|2|2|t name = 30 OR EXISTS|3|6|t (3 rows)