Yep - groaning because you malke me read and dont get down to the detaills LOL!


select id from check_db1.table
UNION
select id from db2.table2

Thats how you do what you want