[This is preliminary documentation and subject to change.]
The WITHIN clause can be used in conjunction with the GROUP BY clause. The order of these clauses is not important although they must follow the WHERE clause as shown in the following syntax:
select <property_list> from <class>
<WHERE clause> GROUP WITHIN interval BY property_list
The interval that follows the WITHIN keyword specifies the number of seconds that should pass before an aggregate event is sent. The property list that follows the BY keyword specifies the properties that are included in the event class.
To handle a query that contains the WITHIN and GROUP BY clauses, CIMOM performs the following tasks: