The SETS function allows aggregate query groups to be created from arbitrary query expressions. The general syntax is:By default, each group uses the corresponding query expression in both the field name and value. The query expression text may not match the original query text exactly since expressions may be transformed internally. A custom field name can be used by using the AS syntax after the SETS function. Example:The field values can also be customized by using the AS syntax after each query expression. For example:Messages that don’t fit either of the two query expressions are included in a group named (null) as shown below:As shown, the majority of messages (5925) did not match either query expression and were therefore included in the (null) group. No messages matches the BittyEmails query expression, hence the metric value for that group is 0.