Oracle 26ai

ORA-03888

Cause

Referencing alias in the GROUP BY clause, HAVING clause, or grouping()/grouping_id() function is not supported when MODEL clause is present.


Action

Replace alias reference with the expression that is aliased.