You want to build a query that references a table from database1 and database2
Sorry - you can't (in 7.1)
Check the developers' TODO list for when schemas are scheduled for implementation. Knowledgable volunteers will no doubt be appreciated ref.