000501 : The input tables are not from the same workspace
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 ArcSDE geodatabase, a file geodatabase, a personal geodatabase or an OLE DB connection.
Ensure that all input tables are from the same workspace. The workspace must be one of the support types listed: an ArcSDE geodatabase, a file geodatabase, a personal geodatabase, or an OLE DB connection.