000501: The input tables are not from the same workspace.

Description

Make Query Table requires that all input feature classes or tables must be from the same input workspace. Make Query Table accepts data from an enterprise geodatabase, a file geodatabase, or an OLE DB connection.

Solution

Ensure that all input tables are from the same workspace.