Switch to tables in a different database

Is there a way to switch to a different database table in one query using Katalon Data Files SQL query? For example I want to execute this query but the connectionURL is only pointing to one of the database table:

select valuefrom table_DB1..column1 a	join table_DB2..column2 b on a.someCol = b.someCol2;