Oracle Error Message
ORA-25958: join index where clause predicate may only contain column references
Reason for the Error
An attempt to create a join index was made, which failed because a predicate in the where clause contained something other than a simple column.
Solution
Ensure that the where clause only contains columns.