The only thing I do not understand from your query is the space between database2.table and 1 (same way with table 2). But I assume it is typo and you really meant table1 and table2.
Are you sure the problem is because of aliases ? I mean, if you remove them, does it work fine ? We use aliases in our view definitions all the time, it works fine. Did you make sure dabase2.table1.col1 is actually exists or not ? Check the spellings of your columns also, sometimes one character here n there could do that too.
The only thing I do not understand from your query is the space between database2.table and 1 (same way with table 2). But I assume it is typo and you really meant table1 and table2.
Are you sure the problem is because of aliases ? I mean, if you remove them, does it work fine ? We use aliases in our view definitions all the time, it works fine. Did you make sure dabase2.table1.col1 is actually exists or not ? Check the spellings of your columns also, sometimes one character here n there could do that too.