Outer table reference required for inner table: table name

No outer table reference exists for the specified inner table. Columns specified in an On expression must either explicitly or implicitly reference the appropriate From record used in the current or “outer” Join (where “outer” Join refers to a Join occurring earlier in a nested Join scenario, not, for example, a “Left Outer Join”).