if you've created the query in your Console, then you can add more that two levels of grouping. You can find the query in your Console in Query and Report Designer. There you can add two or more attributes for grouping.
If the query has been created in Web Access, it might get difficult. Be aware, that if you change the query in the Console, the changes will be reflected to all users using the query.