Hi!
I accidentally posted this in the wrong forum - so here it is again:
I am trying to JOIN two tables from two different databases on two different hosts, but have no clue on how to connect them or about the statement, because I would have to connect to two different databases first and the examples I saw in the manual don\'t seem to cover this issue.
So, here is what I have:
DB1 with the table zip
It has the fields:
- id (unique)
- zip
- city
- latitude
- longitude
DB2 with the table userdata
It also has the field \"id\", but it is not unique, because there can be many users from the same place.
- username
I am doing a query on DB1 first to limit the results. Then I would need to have all corresponding usernames of the table userdata of DB2,but I don\'t know how to do this.
Any help would be greatly appreciated! 🙂
Ciao
Sascha