000540: The workspace is not supported.

Description

Make Query Table accepts data from an ArcSDE geodatabase, a file geodatabase, a personal geodatabase, or an OLE DB Connection.

Solution

Make sure the workspace is one of the supported types.