ORA-30484
missing OVER clause or an invalid identifier found for window function
Cause
The OVER keyword is expected, but not found. The cause for this error could be one of the following:
- The OVER clause for the window function is missing.
- There are unexpected identifiers before the OVER keyword. Note that for the FIRST_VALUE, LAST_VALUE, NTH_VALUE, LEAD, and LAG functions, the IGNORE NULLS or RESPECT NULLS and FROM FIRST or FROM LAST options can only be specified either in the argument or before the OVER keyword.
- A ranking function is given, which is intended to be used to aggregate, but the argument of the function is missing.
Action
Choose the action corresponding to the cause as numbered:
- Add the OVER clause for the window function.
- Remove the invalid identifiers that are specified before the OVER keyword.
- Add an argument for the ranking functions.