Online Documentation for SQL Manager for SQL server
Setting grouping criteria
The Grouping criteria tab allows you to set conditions for grouping query records.
The grouping condition pattern fields are set in the same way as those of the Criteria pattern.
These conditions will be included in the HAVING statement of the generated SQL query.