ORA-32643: invalid use of window function in MODEL rule
Cause: The window functions can not be used in SQL Model rules that have FOR-loops on the left side or aggregates on the right side.
Action: Modify the MODEL rule.
Error Type: ORA
Record: 1/1