Oracle Error QSM-02027: group by ROLLUP

Oracle Error Message

QSM-02027: group by ROLLUP

Reason for the Error

The capability in question is not supported when the materialized view uses the ROLLUP operator in the GROUP BY clause.

Solution

Re-phrase the query to avoid use of the ROLLUP operator.