There is nothing in the MySQL online documentation that I can find that forbids it.
If it works, you'll just have to use the "[databasename].[tablename]" format of table definitions to do it. To joine table "t1" in database "db1" to table "t2" in database "db2":
[tt]select
*
from db1.t1 t1
left join db2.t2 t2
on
t1.foo = t2.bar[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.