我可以跨多个服务器连接来自多个数据库的多个表吗?

Is it possible to write join query between multiple databases across different servers?

Is it possible?

The answer to your question is, Yes it is possible.

But since you have not specified any particular situation you are facing,it is not possible to give a direct answer.

In MySQL it can be done using The FEDERATED Storage Engine.

However I suggest you go through following SO questions

  1. Join tables from two different server
  2. Joining tables across multiple servers
  3. MySQL Cross Server Select Query
  4. MySQL — join between tables in 2 different databases?
  5. How To Left Join 2 Tables On 2 Different Databases?
  6. Connecting multiple database and join query across database in php