ORA-25965: fact table must be included in the from clause
Cause: An attempt to create a join index was made, which failed because the from clause does not contain the fact table.
Action: Ensure that the from clause contains the fact table.
Error Type: ORA