In the AS field, enter an alias for the project expression result or select one of Optionally, check Distinct.

Managing Oracle CQL Rules 6-41 Figure 6–49 Query Wizard Select Editor Dialog: Group Tab

4. Edit the Group tab as

Table 6–10 describes. The general procedure is:

1. Select a source from the pull down menu.

2. Select a property in the Properties list.

3. To add the selected property to the Grouping properties list, click the Add

button. To remove a property from the Grouping properties list, select the property in the Grouping properties list and click the Delete button. Table 6–10 Query Wizard Select Editor Attributes: Group Tab Attribute Description Select a source Select a source from the pull-down menu. Properties The properties of the event offered by the selected source. Grouping Properties A list of the grouping properties you define. To add the selected property to the Grouping properties list, click the Add button. To remove a property from the Grouping properties list, select the property in the Grouping properties list and click the Delete button. Generated CQL Statement Editable Oracle CQL fragment associated with this CQL Construct. 6-42 Oracle Complex Event Processing Visualizer Users Guide For more information, see opt_group_by_clause in the Oracle Complex Event Processing CQL Language Reference.

5. Click the Condition tab.

The Condition tab editor dialog appears as Figure 6–48 shows. Figure 6–50 Query Wizard Select Editor Dialog: Condition Tab

6. Edit the Condition tab as

Table 6–11 describes. For more information, see opt_having_clause in the Oracle Complex Event Processing CQL Language Reference. Table 6–11 Query Wizard Select Editor Attributes: Condition Tab Attribute Description Having Predicate Define an expression by entering a having predicate directly or clicking the Expression Builder button. For example: lastPrice 500 For more information, see Section 6.1.9.17, Configuring an Expression Using the Expression Builder . To add a condition expression to the generated CQL statement, click the Add button. To remove the condition expression from the generated CQL statement, click the Delete button. Generated CQL Statement Editable Oracle CQL fragment associated with this CQL Construct.