ERROR | agg(expr) requires correspondng MIN(expr) function |
CAUSE | The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the MIN function on the same argument. |
ACTION | Add the MIN function to the select list. |