Database Error Messages

QSM-02104

aggregate function in a filter condition in the HAVING clause

Cause

The capability in question is not supported when the materialized view references an aggregate function in a filter condition in the HAVING clause.


Action

Re-phrase the query to avoid the use of aggregates in filter conditions in the HAVING clause.